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

28 lines
690 B
Text
Raw Normal View History

2022-01-10 15:18:34 +01:00
#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
2023-05-23 11:08:58 +02:00
# REMOVE SYSTEM CONFIGURATIONS
2022-01-10 15:18:34 +01:00
#=================================================
ynh_script_progression "Removing system configurations related to $app..."
2022-01-10 15:18:34 +01:00
if ynh_hide_warnings yunohost service status $app >/dev/null
2022-01-10 15:18:34 +01:00
then
ynh_script_progression "Removing $app service integration..."
2022-01-10 15:18:34 +01:00
yunohost service remove $app
fi
ynh_config_remove_systemd
2022-01-10 21:33:51 +01:00
ynh_config_remove_logrotate
2022-01-10 15:18:34 +01:00
ynh_config_remove_nginx
2022-01-10 15:18:34 +01:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Removal of $app completed"