mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-07-01 21:50:56 +02:00
Merge pull request #1247 from pi-hole/tweak/ftlrun
Remove unneeded variable reference in FTL run script
This commit is contained in:
commit
1fe6506e4f
|
@ -38,8 +38,7 @@ if [ ! -f /var/log/pihole-FTL.log ]; then
|
||||||
chown -h pihole:pihole /var/log/pihole-FTL.log
|
chown -h pihole:pihole /var/log/pihole-FTL.log
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Call capsh with the detected capabilities
|
capsh --user=$DNSMASQ_USER --keep=1 -- -c "/usr/bin/pihole-FTL $FTL_CMD >/dev/null 2>&1"
|
||||||
capsh --inh=${CAP_STR:1} --addamb=${CAP_STR:1} --user=$DNSMASQ_USER --keep=1 -- -c "/usr/bin/pihole-FTL $FTL_CMD >/dev/null 2>&1"
|
|
||||||
|
|
||||||
# Notes on above:
|
# Notes on above:
|
||||||
# - DNSMASQ_USER default of pihole is in Dockerfile & can be overwritten by runtime container env
|
# - DNSMASQ_USER default of pihole is in Dockerfile & can be overwritten by runtime container env
|
||||||
|
|
Loading…
Reference in New Issue
Block a user