mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Update install
This commit is contained in:
parent
7be085dafa
commit
ab5b9c5532
1 changed files with 1 additions and 1 deletions
|
@ -144,7 +144,7 @@ sed -i "s/^#replication:/replication:\n replSetName: \"rs01\"/" /etc/mongod.con
|
||||||
ynh_exec_warn_less systemctl enable $mongodb_servicename --quiet
|
ynh_exec_warn_less systemctl enable $mongodb_servicename --quiet
|
||||||
ynh_systemd_action --service_name=$mongodb_servicename --action=restart
|
ynh_systemd_action --service_name=$mongodb_servicename --action=restart
|
||||||
|
|
||||||
mongo --eval "printjson(rs.initiate())"
|
#mongo --eval "printjson(rs.initiate())"
|
||||||
|
|
||||||
sleep 10
|
sleep 10
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue