1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 06:48:07 +00:00

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

Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
Adam Warner 2018-03-23 10:15:40 +00:00
parent d26ea2b948
commit 51765b1f65
No known key found for this signature in database
GPG Key ID: F5410858022DA5EB

View File

@ -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