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