1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wekan_ynh.git synced 2024-09-03 20:36:09 +02:00
wekan_ynh/scripts/remove
Éric Gaspar 22bbb5ff27 cleaning
2024-08-29 14:21:36 +02:00

32 lines
825 B
Bash
Executable file

#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# STANDARD REMOVE
#=================================================
# REMOVE SERVICE INTEGRATION IN YUNOHOST
#=================================================
if ynh_hide_warnings yunohost service status $app >/dev/null
then
ynh_script_progression "Removing $app service integration..."
yunohost service remove $app
fi
ynh_config_remove_systemd
# Remove a database if it exists, along with the associated user
ynh_mongo_remove_db --db_user=$db_user --db_name=$db_name
ynh_remove_mongo
ynh_config_remove_nginx
ynh_nodejs_remove
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Removal of $app completed"