|
#!/bin/bash
|
|
# one off run command for testing without systemd
|
|
DIR=$(dirname "$(dirname "$(readlink -f "$0")")") || exit
|
|
CONF=${1:-caddy}
|
|
$DIR/env/aws.sh
|
|
sudo -E /usr/bin/env | grep AWS
|
|
sudo -E $DIR/bin/caddy run --config $DIR/conf/$CONF.conf --adapter caddyfile
|