2022-02-22 13:59:54 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# STANDARD REMOVE
|
|
|
|
#=================================================
|
|
|
|
# REMOVE SERVICE INTEGRATION IN YUNOHOST
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
# Remove the service from the list of services known by YunoHost (added from `yunohost service add`)
|
2024-08-31 02:58:19 +02:00
|
|
|
if ynh_hide_warnings yunohost service status $app >/dev/null
|
2022-02-22 13:59:54 +01:00
|
|
|
then
|
2024-08-31 02:58:19 +02:00
|
|
|
ynh_script_progression "Removing $app service integration..."
|
2022-02-27 20:07:04 +01:00
|
|
|
yunohost service remove smbd
|
2022-02-22 13:59:54 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
2024-08-31 02:58:19 +02:00
|
|
|
ynh_script_progression "Removal of $app completed"
|