1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pihole_ynh.git synced 2024-09-03 20:05:58 +02:00

Fix logrotate

This commit is contained in:
Maniack Crudelis 2018-10-23 16:26:16 +02:00 committed by GitHub
parent 67faa90abe
commit efcc71cf19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,6 +77,8 @@ ynh_system_user_create $app # Recreate the dedicated user, if not exist
# Les fichiers appartiennent à root
chown $app: -R "/etc/pihole"
# /etc/pihole/logrotate have to belong to root, otherwise logrotate will failed silently...
chown root: -R "/etc/pihole/logrotate"
#=================================================
# RESTORE OF THE PHP-FPM CONFIGURATION