From 3ba489fc6aab7b4e6c08ae18820e3722bf138406 Mon Sep 17 00:00:00 2001 From: ewilly Date: Thu, 19 Oct 2023 22:54:27 +0200 Subject: [PATCH] Add --not_mandatory --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 598bf18..2011cc8 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -117,7 +117,7 @@ ynh_backup_uwsgi_service () { ynh_restore_uwsgi_service () { ynh_check_global_uwsgi_config ynh_restore_file --origin_path="/etc/uwsgi/apps-available/$app.ini" - ynh_restore_file --origin_path="/etc/systemd/system/uwsgi-app@$app.service.d" + ynh_restore_file --origin_path="/etc/systemd/system/uwsgi-app@$app.service.d" --not_mandatory mkdir -p "/var/log/uwsgi/$app" chown $app:root "/var/log/uwsgi/$app"