mirror of
https://github.com/Luzifer/dns.git
synced 2024-11-09 22:50:06 +00:00
13 lines
178 B
Bash
13 lines
178 B
Bash
|
#!/usr/local/bin/dumb-init /bin/bash
|
||
|
set -euxo pipefail
|
||
|
|
||
|
if [ "${1:-}" = 'coredns' ]; then
|
||
|
# Start crond in the background
|
||
|
crond
|
||
|
|
||
|
# Start coredns
|
||
|
exec "$@"
|
||
|
fi
|
||
|
|
||
|
exec "$@"
|