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
b803342230
commit
dae3d7c431
1 changed files with 4 additions and 0 deletions
|
@ -141,6 +141,10 @@ sed -i "s/^# engine:/ engine: wiredTiger/" /etc/mongod.conf
|
|||
sed -i "s/^#replication:/replication:\n replSetName: rs01/" /etc/mongod.conf
|
||||
#echo -e "replication:\n replSetName: \"rs01\"" | tee -a /etc/mongod.conf
|
||||
|
||||
mongo --eval "printjson(rs.initiate())"
|
||||
|
||||
sleep 10
|
||||
|
||||
#=================================================
|
||||
# INTEGRATE SERVICE IN YUNOHOST
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue