1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/flohmarkt_ynh.git synced 2024-09-03 18:36:30 +02:00

stop before disable

This commit is contained in:
Chris Vogel 2024-04-16 13:09:41 +02:00
parent 8885b9b08e
commit 68b757b175
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -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