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