mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Fix
This commit is contained in:
parent
d2570d3aab
commit
6cb09f68b1
2 changed files with 4 additions and 2 deletions
|
@ -33,7 +33,7 @@ processManagement:
|
||||||
#operationProfiling:
|
#operationProfiling:
|
||||||
|
|
||||||
replication:
|
replication:
|
||||||
replSetName: "rs01"
|
replSetName: rs01
|
||||||
|
|
||||||
#sharding:
|
#sharding:
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue