1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
ericgaspar 2021-11-14 10:10:59 +01:00
parent d2570d3aab
commit 6cb09f68b1
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 2 deletions

View file

@ -33,7 +33,7 @@ processManagement:
#operationProfiling: #operationProfiling:
replication: replication:
replSetName: "rs01" replSetName: rs01
#sharding: #sharding:

View file

@ -145,7 +145,9 @@ ynh_systemd_action --service_name=$mongodb_servicename --action=restart
sleep 10 sleep 10
mongo --eval "printjson(rs.initiate())" #mongo --eval "printjson(rs.initiate())"
ynh_mongo_exec --command="printjson(rs.initiate())" --eval
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION