Bladeren bron

stop before disable

Chris Vogel 1 jaar geleden
bovenliggende
commit
68b757b175
2 gewijzigde bestanden met toevoegingen van 5 en 0 verwijderingen
  1. 1 0
      README.md
  2. 4 0
      scripts/remove

+ 1 - 0
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
 

+ 4 - 0
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