1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Fix removal

This commit is contained in:
yalh76 2022-07-01 02:44:36 +02:00
parent 759948d559
commit 03c2296a7a

View file

@ -56,7 +56,6 @@ ynh_remove_logrotate
#=================================================
ynh_script_progression --message="Removing the MongoDB database..."
ynh_mongo_exec --command="printjson(rs.remove())" --eval
ynh_replace_string --match_string="engine: wiredTiger" --replace_string="# engine:" --target_file=$MONGO_CE_CONFIG
ynh_replace_string --match_string="replication:" --replace_string="#replication:" --target_file=$MONGO_CE_CONFIG
ynh_replace_string --match_string=" replSetName: rs01" --replace_string="" --target_file=$MONGO_CE_CONFIG