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:
parent
67faa90abe
commit
efcc71cf19
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue