1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00
samba_ynh/scripts/remove

24 lines
714 B
Text
Raw Normal View History

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`)
if ynh_hide_warnings yunohost service status $app >/dev/null
2022-02-22 13:59:54 +01:00
then
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
#=================================================
ynh_script_progression "Removal of $app completed"