2020-05-12 14:51:19 -07:00
|
|
|
#!/bin/bash
|
|
|
|
# one off run command for testing without systemd
|
2020-05-18 11:53:40 -07:00
|
|
|
CONF=${1:-caddy}
|
2020-05-12 14:51:19 -07:00
|
|
|
source /opt/caddy/env/aws.sh
|
|
|
|
sudo -E /usr/bin/env | grep AWS
|
2020-05-18 11:53:40 -07:00
|
|
|
sudo -E /opt/caddy/caddy run --config /opt/caddy/conf/$CONF.conf --adapter caddyfile
|