1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpmyadmin_ynh.git synced 2024-09-03 19:56:46 +02:00
phpmyadmin_ynh/scripts/remove

33 lines
953 B
Text
Raw Normal View History

2014-01-14 22:57:44 +01:00
#!/bin/bash
2017-08-29 02:34:05 +02:00
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
2014-01-14 22:57:44 +01:00
2017-08-29 02:34:05 +02:00
# source _common.sh
source /usr/share/yunohost/helpers
2017-08-29 02:34:05 +02:00
#=================================================
2023-11-02 18:44:07 +01:00
# REMOVE SYSTEM CONFIGURATIONS
2017-08-29 02:34:05 +02:00
#=================================================
2023-11-02 18:44:07 +01:00
# REMOVE SYSTEMD SERVICE
2017-08-29 02:34:05 +02:00
#=================================================
2023-11-02 18:44:07 +01:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2017-08-29 02:34:05 +02:00
# Remove phpmyadmin MySQL admin user
ynh_mysql_drop_user $db_admin_user
2020-09-24 13:44:38 +02:00
# Remove the dedicated NGINX config
2017-08-29 02:34:05 +02:00
ynh_remove_nginx_config
2020-09-24 13:44:38 +02:00
# Remove the dedicated PHP-FPM config
2017-08-29 02:34:05 +02:00
ynh_remove_fpm_config
2014-01-14 22:57:44 +01:00
2019-02-17 20:58:14 +01:00
#=================================================
# END OF SCRIPT
#=================================================
2021-07-08 08:42:29 +02:00
ynh_script_progression --message="Removal of $app completed" --last