adding FTL_CMD for debug

This commit is contained in:
diginc 2018-03-01 22:16:38 -06:00
parent d83a950a23
commit 1c598d3078
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv bash
s6-echo "Starting pihole-FTL"
pihole-FTL no-daemon
s6-echo "Starting pihole-FTL ($FTL_CMD)"
pihole-FTL "${FTL_CMD}"

View File

@ -14,6 +14,7 @@ export INTERFACE
export IPv6
export WEBPASSWORD
export WEB_PORT
export FTL_CMD="${FTL_CMD:-'no-daemon'}"
. /bash_functions.sh