Also chown the other files
This commit is contained in:
parent
e339f3852c
commit
e8fde702a0
|
@ -26,7 +26,7 @@ start() {
|
|||
echo "pihole-FTL is already running"
|
||||
else
|
||||
touch /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||
chown pihole:pihole /var/log/pihole-FTL.log
|
||||
chown pihole:pihole /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||
chmod 0644 /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
|
||||
su -c "/usr/bin/pihole-FTL" "$FTLUSER"
|
||||
echo
|
||||
|
|
Loading…
Reference in New Issue