87d4316e62
somewhat working example site with conf file
5 lines
158 B
Bash
Executable file
5 lines
158 B
Bash
Executable file
#!/bin/bash
|
|
DIR=$(dirname "$(dirname "$(readlink -f "$0")")") || exit
|
|
CONF=${1:-caddy}
|
|
touch $DIR/conf/$CONF.conf
|
|
sudo chown caddy:caddy $DIR/conf/$CONF.conf
|