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

33 lines
974 B
Text
Raw Normal View History

2017-07-01 19:54:37 +02:00
#!/bin/bash
2017-08-01 11:29:01 +02:00
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
2017-08-01 11:29:01 +02:00
source _common.sh
2017-07-01 19:54:37 +02:00
source /usr/share/yunohost/helpers
2017-08-01 11:29:01 +02:00
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================
2020-10-16 11:21:00 +02:00
ynh_script_progression --message="Removing NGINX web server configuration..."
2017-07-01 19:54:37 +02:00
2020-10-16 11:21:00 +02:00
# Remove the dedicated NGINX config
2017-08-01 11:29:01 +02:00
ynh_remove_nginx_config
2017-07-01 19:54:37 +02:00
2018-09-01 18:12:10 +02:00
#=================================================
# REMOVE PHP-FPM CONFIGURATION
#=================================================
2020-10-16 11:21:00 +02:00
ynh_script_progression --message="Removing PHP-FPM configuration"
2018-09-01 18:12:10 +02:00
2020-10-16 11:21:00 +02:00
# Remove the dedicated PHP-FPM config
2018-09-01 18:12:10 +02:00
ynh_remove_fpm_config
2017-07-01 19:54:37 +02:00
2019-04-06 20:29:15 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2020-10-16 11:21:00 +02:00
ynh_script_progression --message="Removal of $app completed"