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

Update remove

This commit is contained in:
Thomas 2024-02-15 15:36:46 +01:00 committed by GitHub
parent 30fb8bb387
commit 123122e8f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,6 +111,9 @@ 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_replace_string --match_string="replication:" --replace_string="#replication:" --target_file="/etc/mongod.conf"
ynh_replace_string --match_string=" replSetName: rs01" --replace_string="" --target_file="/etc/mongod.conf"
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================