From 68b757b17526423e493ff0acbd1c1d45ebbdecd9 Mon Sep 17 00:00:00 2001 From: Chris Vogel Date: Tue, 16 Apr 2024 13:09:41 +0200 Subject: [PATCH] stop before disable --- README.md | 1 + scripts/remove | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 8335751..621293e 100644 --- a/README.md +++ b/README.md @@ -56,6 +56,7 @@ I also announced this work on the [yunohost forum](https://forum.yunohost.org/t/ ### → 0.2 beta * restore script * upgrade script +* fail2ban config ### later diff --git a/scripts/remove b/scripts/remove index 469ef62..78b4ee1 100755 --- a/scripts/remove +++ b/scripts/remove @@ -16,6 +16,10 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Removing system configurations related to $app..." --weight=5 +# Stop flohmarkt service +ynh_script_progression --message="Stopping $app..." --weight=2 +yunohost service stop $app + # Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then