caddy-retired/scripts/newconf

5 lines
135 B
Plaintext
Raw Normal View History

#!/bin/bash
2020-10-26 13:34:42 -07:00
DIR=$(dirname "$(dirname "$(readlink -f "$0")")") || exit
touch $DIR/conf/$1.conf
sudo chown caddy:caddy $DIR/conf/$1.conf