diff --git a/scripts/restore b/scripts/restore index 43e3999..8832841 100755 --- a/scripts/restore +++ b/scripts/restore @@ -104,6 +104,9 @@ systemctl enable $app.service --quiet #================================================= ynh_script_progression --message="Restoring the logrotate configuration..." --time --weight=1 +mkdir -p /var/log/$app +chown -R $app:root /var/log/$app + ynh_restore_file --origin_path="/etc/logrotate.d/$app" #=================================================