diff --git a/scripts/remove b/scripts/remove index 8528898..1e1c42b 100644 --- a/scripts/remove +++ b/scripts/remove @@ -56,10 +56,9 @@ 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 +ynh_replace_string --match_string=" replSetName: rs01" --replace_string="" --target_file=$MONGO_CE_CONFIG ynh_systemd_action --service_name=$MONGO_CE_SERVICENAME --action=restart