1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/transfersh_ynh.git synced 2024-09-04 01:35:59 +02:00
transfersh_ynh/scripts/remove

29 lines
694 B
Text
Raw Permalink Normal View History

2022-06-25 13:37:10 +02:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
if ynh_hide_warnings yunohost service status $app >/dev/null
2022-06-25 13:37:10 +02:00
then
ynh_script_progression "Removing $app service integration..."
2022-06-25 13:37:10 +02:00
yunohost service remove $app
fi
ynh_config_remove_systemd
2022-06-25 13:37:10 +02:00
ynh_config_remove_logrotate
2022-06-25 13:37:10 +02:00
ynh_config_remove_nginx
2022-06-25 13:37:10 +02:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Removal of $app completed"