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