From 85a04f99f29d91517270c9ec5349f6004a04fe9e Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 14 Sep 2023 15:55:20 +0200 Subject: [PATCH] Update remove --- scripts/remove | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/scripts/remove b/scripts/remove index 689e848..5b8ce4d 100755 --- a/scripts/remove +++ b/scripts/remove @@ -43,6 +43,13 @@ ynh_remove_nodejs #================================================= # SPECIFIC REMOVE +#================================================= +# REMOVE SERVICE IN YUNOHOST +#================================================= +ynh_script_progression --message="Integrating service in YunoHost..." + +yunohost service remove $app --log="/var/log/$app/$app.log" + #================================================= # REMOVE VARIOUS FILES #================================================= @@ -51,14 +58,6 @@ ynh_script_progression --message="Removing various files..." --weight=1 # Remove the log files ynh_secure_remove --file="/var/log/$app" -#================================================= -# REMOVE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - -yunohost service remove $app --log="/var/log/$app/$app.log" - - #================================================= # END OF SCRIPT #=================================================