From 77c4b82d542e8f6e4b74167bdfe9caf46b947905 Mon Sep 17 00:00:00 2001 From: mhfowler Date: Fri, 8 Oct 2021 11:47:53 +0200 Subject: [PATCH] Fix restore script --- scripts/restore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/restore b/scripts/restore index b0816d7..34bd774 100755 --- a/scripts/restore +++ b/scripts/restore @@ -105,8 +105,9 @@ systemctl enable $app.service --quiet #================================================= # RESTORE THE LOGROTATE CONFIGURATION #================================================= -ynh_script_progression --message="Restoring the logrotate configuration..." --time --weight=1 +ynh_script_progression --message="Restoring the logrotate configuration..." --weight=1 +mkdir -p /var/log/$app ynh_restore_file --origin_path="/etc/logrotate.d/$app" #=================================================