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:
parent
31a6969c15
commit
0d433dc2d7
1 changed files with 2 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue