1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

Simplify remove

This commit is contained in:
Josué Tille 2024-02-26 20:23:06 +01:00
parent 31a6969c15
commit 0d433dc2d7
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -17,15 +17,8 @@ source /usr/share/yunohost/helpers
#=================================================
# Remove a service from the admin panel, added by `yunohost service add`
if yunohost service status $app >/dev/null 2>&1
then
yunohost service remove $app
fi
if yunohost service status $app-coturn >/dev/null 2>&1
then
yunohost service remove $app-coturn
fi
yunohost service remove $app
yunohost service remove $app-coturn
#=================================================
# STOP AND REMOVE SERVICE