2021-07-25 13:44:34 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# GENERIC START
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
2023-02-17 22:01:12 +01:00
|
|
|
# REMOVE SYSTEMD SERVICE
|
2021-07-25 13:44:34 +02:00
|
|
|
#=================================================
|
2023-02-17 21:49:01 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2021-07-25 13:44:34 +02:00
|
|
|
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|