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:
parent
6001ad2f39
commit
00ba7e1f80
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue