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

33 lines
914 B
Text
Raw Normal View History

2015-04-28 17:32:31 +02:00
#!/bin/bash
2019-03-10 02:20:27 +01:00
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
2017-02-21 04:04:26 +01:00
2019-03-10 02:20:27 +01:00
source _common.sh
2017-03-29 19:00:53 +02:00
source /usr/share/yunohost/helpers
2019-03-10 02:20:27 +01:00
#=================================================
# STANDARD REMOVE
#=================================================
# STOP AND REMOVE SERVICE
#=================================================
2021-05-18 04:02:21 +02:00
ynh_script_progression --message="Stopping and removing the systemd service..."
2019-03-10 02:20:27 +01:00
# Remove the dedicated systemd config
ynh_remove_systemd_config
2021-05-18 04:02:21 +02:00
# Remove the dedicated NGINX config
2019-03-10 02:20:27 +01:00
ynh_remove_nginx_config
2021-05-18 04:02:21 +02:00
# Remove the dedicated PHP-FPM config
2019-03-10 02:20:27 +01:00
ynh_remove_fpm_config
#=================================================
# END OF SCRIPT
#=================================================
2020-12-18 10:52:22 +01:00
ynh_script_progression --message="Removal of $app completed" --last