From efcc71cf193bb8b165af685241d22a4bfe1a0953 Mon Sep 17 00:00:00 2001 From: Maniack Crudelis Date: Tue, 23 Oct 2018 16:26:16 +0200 Subject: [PATCH] Fix logrotate --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index d87b5a2..ccfcd82 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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