caddy-retired/scripts/newconf

4 lines
92 B
Bash
Executable File

#!/bin/bash
touch /opt/caddy/conf/$1.conf
sudo chown caddy:sysadmin /opt/caddy/conf/$1.conf