docker-pi-hole/s6/debian-root/etc/cont-init.d/20-start.sh

16 lines
335 B
Bash
Raw Normal View History

2017-05-05 05:37:26 +02:00
#!/usr/bin/with-contenv bash
bashCmd='bash'
if [ "${PH_VERBOSE:-0}" -gt 0 ] ; then
set -x ;
bashCmd='bash -x'
fi
2017-05-05 05:37:26 +02:00
# Early DNS Startup for the gravity list process to use
dnsmasq -7 /etc/dnsmasq.d
$bashCmd /start.sh
$bashCmd gravity.sh
# Done with DNS, let s6 services start up properly configured dns now
killall -9 dnsmasq