From 3ed8265e35ae6d48da2bbe4257f20c9c023497fa Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Holcroft Date: Mon, 15 Oct 2018 22:44:02 +0200 Subject: [PATCH] Make sure the service is stoped for removing --- scripts/remove | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/remove b/scripts/remove index c377707..841b4ff 100755 --- a/scripts/remove +++ b/scripts/remove @@ -17,6 +17,12 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get "$app" domain) db_name=$(ynh_app_setting_get "$app" db_name) +#================================================= +# STOP WEBLATE'S SERVICE +#================================================= + +systemctl stop "uwsgi-app@$app.service" + #================================================= # REMOVE THE PostgreSQL DATABASE #=================================================