From fa7c984a56b0aad8965600883674a5877b5260f0 Mon Sep 17 00:00:00 2001 From: Gildas <25692645+Gildas-GH@users.noreply.github.com> Date: Sat, 23 Dec 2023 17:13:16 +0100 Subject: [PATCH] Fix restore script --- scripts/restore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/restore b/scripts/restore index e2874fa..f1ff5cf 100755 --- a/scripts/restore +++ b/scripts/restore @@ -26,6 +26,9 @@ ynh_script_progression --message="Restoring system configurations related to $ap ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" +mkdir -p /var/log/$app +chown -R $app:www-data /var/log/$app + ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet