caddy-retired/scripts/run

7 lines
225 B
Bash
Executable File

#!/bin/bash
# one off run command for testing without systemd
CONF=${1:-caddy}
source /opt/caddy/env/aws.sh
sudo -E /usr/bin/env | grep AWS
sudo -E /opt/caddy/caddy run --config /opt/caddy/conf/$CONF.conf --adapter caddyfile