1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-17 21:59:55 +00:00

Also chown the other files

This commit is contained in:
DL6ER 2017-02-21 11:52:07 +01:00
parent e339f3852c
commit e8fde702a0
No known key found for this signature in database
GPG Key ID: 00135ACBD90B28DD

View File

@ -26,7 +26,7 @@ start() {
echo "pihole-FTL is already running" echo "pihole-FTL is already running"
else else
touch /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port 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 chmod 0644 /var/log/pihole-FTL.log /run/pihole-FTL.pid /run/pihole-FTL.port
su -c "/usr/bin/pihole-FTL" "$FTLUSER" su -c "/usr/bin/pihole-FTL" "$FTLUSER"
echo echo