From e73e347f35201ad7c2d16bdf207542ffef068098 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Thu, 2 Jun 2022 00:26:07 +0200 Subject: [PATCH] Update restore --- scripts/restore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/restore b/scripts/restore index 73d61f9..4061004 100755 --- a/scripts/restore +++ b/scripts/restore @@ -105,6 +105,8 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1 +mkdir -p "/var/log/$app" +chown -R $app: "/var/log/$app" ynh_restore_file --origin_path="/etc/logrotate.d/$app" #=================================================