2013-11-24 20:51:24 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-08-14 23:29:59 +02:00
|
|
|
source _common.sh
|
2017-08-27 14:42:28 +02:00
|
|
|
source /usr/share/yunohost/helpers
|
2013-11-24 20:51:24 +01:00
|
|
|
|
2017-08-27 14:42:28 +02:00
|
|
|
#=================================================
|
2023-03-11 13:53:38 +01:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2017-08-27 14:42:28 +02:00
|
|
|
#=================================================
|
2024-08-31 09:11:19 +02:00
|
|
|
ynh_script_progression "Removing system configurations related to $app..."
|
2017-08-27 14:42:28 +02:00
|
|
|
|
2024-09-24 23:15:08 +02:00
|
|
|
if ynh_hide_warnings yunohost service status $app >/dev/null; then
|
2019-05-01 20:35:48 +02:00
|
|
|
yunohost service remove $app
|
|
|
|
fi
|
|
|
|
|
2024-08-31 09:11:19 +02:00
|
|
|
ynh_config_remove_systemd
|
2017-08-27 14:42:28 +02:00
|
|
|
|
2024-08-31 09:11:19 +02:00
|
|
|
ynh_config_remove_nginx
|
2017-08-27 14:42:28 +02:00
|
|
|
|
2024-08-31 09:11:19 +02:00
|
|
|
ynh_config_remove_phpfpm
|
2017-08-27 14:42:28 +02:00
|
|
|
|
|
|
|
#=================================================
|
2019-05-01 20:35:48 +02:00
|
|
|
# END OF SCRIPT
|
2017-08-27 14:42:28 +02:00
|
|
|
#=================================================
|
|
|
|
|
2024-08-31 09:11:19 +02:00
|
|
|
ynh_script_progression "Removal of $app completed"
|