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

fix remove mongod

This commit is contained in:
Thomas 2023-11-28 19:12:46 +01:00 committed by GitHub
parent 6001ad2f39
commit 00ba7e1f80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,12 @@ then
ynh_script_progression --message="Removing $app-web service integration..."
yunohost service remove "$app-web"
fi
if ynh_exec_warn_less yunohost service status "$mongod" >/dev/null
then
ynh_script_progression --message="Removing mongod service integration..."
yunohost service remove "mongod"
fi
#=================================================
# STOP AND REMOVE SERVICE
@ -112,8 +118,6 @@ ynh_script_progression --message="Removing the MongoDB database..."
# 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_systemd_config --service="mongod"
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================