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

15 lines
224 B
Bash
Raw Normal View History

2017-05-05 05:37:26 +02:00
#!/usr/bin/with-contenv bash
2018-01-05 05:30:40 +01:00
set
2017-05-05 05:37:26 +02:00
2018-01-04 04:37:19 +01:00
bashCmd='bash -e'
if [ "${PH_VERBOSE:-0}" -gt 0 ] ; then
set -x ;
2018-01-04 05:34:31 +01:00
bashCmd='bash -e -x'
fi
2017-05-05 05:37:26 +02:00
$bashCmd /start.sh
2018-01-05 05:30:40 +01:00
dnsmasq -7 /etc/dnsmasq.d
gravity.sh
kill -9 $(pgrep dnsmasq) || true