chown pihole log to pihole:pihole, rather than pihole:root

Signed-off-by: Adam Warner <adamw@rner.email>
pull/2076/head
Adam Warner 6 years ago
parent d26ea2b948
commit 51765b1f65
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

@ -1323,7 +1323,7 @@ CreateLogFile() {
# set the permissions,
chmod 644 /var/log/pihole.log
# and owners
chown pihole:root /var/log/pihole.log
chown pihole:pihole /var/log/pihole.log
echo -e "${OVER} ${TICK} ${str}"
# Otherwise,
else

Loading…
Cancel
Save