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

gorgotten yunohost service remove "$app"

This commit is contained in:
OniriCorpe 2024-02-14 06:12:08 +01:00
parent f28c50b9c5
commit 054dd4f2a7

View file

@ -11,6 +11,17 @@ source /usr/share/yunohost/helpers
#=================================================
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
# 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
ynh_script_progression --message="Removing $app service integration..." --weight=1
yunohost service remove "$app"
fi
#=================================================
# REMOVE SYSTEMD SERVICE
#=================================================