mirror of
https://github.com/Luzifer/dns.git
synced 2024-11-14 00:42:48 +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 "$@"
|