Update 20-start.sh

Signed-off-by: Tyler Spires <shadrach145@gmail.com>
This commit is contained in:
Athrogate 2020-08-14 19:22:49 -04:00 committed by Tyler Spires
parent daa3c1e45c
commit e15017d69a
1 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,9 @@ $bashCmd /start.sh
if [ -n "$PYTEST" ]; then
sed -i 's/^gravity_spinup$/#gravity_spinup # DISABLED FOR PYTEST/g' "$(which gravity.sh)"
fi
gravity.sh
if [ ! -n "$SKIPGRAVITYONBOOT" ]; then
gravity.sh
fi
# Kill dnsmasq because s6 won't like it if it's running when s6 services start
kill -9 $(pgrep pihole-FTL) || true