mirror of
https://github.com/Luzifer/dns.git
synced 2024-12-23 03:11:20 +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 "$@"
|