seafile-containerized/seafile-caddy/scripts/start.sh

11 lines
157 B
Bash
Raw Normal View History

2021-01-24 23:53:51 +00:00
#!/bin/bash
if [ "$SWARM_DNS" = true ]; then
/scripts/swarm-dns.sh &
fi
2021-01-24 23:53:51 +00:00
caddy run --config /etc/caddy/Caddyfile --adapter caddyfile &
wait -n
exit $?