From 8c71a368ae5db9adb3fa4616d6296e56f6407c65 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 28 Nov 2020 21:26:43 +0100 Subject: [PATCH] Update _common.sh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 87ad26e..7e724e2 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -123,8 +123,8 @@ ynh_add_uwsgi_service () { ynh_remove_uwsgi_service () { local finaluwsgiini="/etc/uwsgi/apps-available/$app.ini" if [ -e "$finaluwsgiini" ]; then - systemctl disable "uwsgi-app@$app.service" yunohost service remove "uwsgi-app@$app" + systemctl disable "uwsgi-app@$app.service" ynh_secure_remove --file="$finaluwsgiini" ynh_secure_remove --file="/var/log/uwsgi/$app"