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