mirror of
https://github.com/pi-hole/FTL.git
synced 2024-10-26 16:52:18 +02:00
Explicitly specify shell in runuser command
Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ echo "BLOCKING_ENABLED=true" > /etc/pihole/setupVars.conf
|
||||
echo "" > /etc/pihole/pihole-FTL.conf
|
||||
|
||||
# Start FTL
|
||||
if ! runuser -l pihole -c /home/pihole/pihole-FTL; then
|
||||
if ! runuser -l pihole -s /bin/sh -c /home/pihole/pihole-FTL; then
|
||||
echo "pihole-FTL failed to start"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user