From e8fde702a0bc38195875941dc6021ea3a7ed3c25 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Tue, 21 Feb 2017 11:52:07 +0100 Subject: [PATCH] Also chown the other files --- advanced/pihole-FTL.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/advanced/pihole-FTL.service b/advanced/pihole-FTL.service index caffd00e..6e1a9786 100644 --- a/advanced/pihole-FTL.service +++ b/advanced/pihole-FTL.service @@ -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