mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 09:01:38 +00:00
94d3ed3e9e
Exits container if caddy service exits.
11 lines
157 B
Bash
11 lines
157 B
Bash
#!/bin/bash
|
|
|
|
if [ "$SWARM_DNS" = true ]; then
|
|
/scripts/swarm-dns.sh &
|
|
fi
|
|
|
|
caddy run --config /etc/caddy/Caddyfile --adapter caddyfile &
|
|
|
|
wait -n
|
|
|
|
exit $? |