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-06-30 15:54:10 +02:00
parent d3adb72865
commit 71d2728b21
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 2 additions and 4 deletions

View file

@ -12,12 +12,10 @@ ExecStart=__YNH_NODE__ main.js
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=__APP__
Environment=MONGO_URL=mongodb://localhost:27017/__APP__?replSet=rs01
Environment=MONGO_URL=mongodb://localhost:27017/__APP__?replicaSet=rs01
Environment=MONGO_OPLOG_URL=mongodb://localhost:27017/local?replSet=rs01
Environment=ROOT_URL=https://__DOMAIN____PATH__
Environment=PORT=__PORT__
[Install]
WantedBy=multi-user.target
MONGO_OPLOG_URL=mongodb://localhost:27017/local?replSet=rs01

View file

@ -144,7 +144,7 @@ ynh_add_systemd_config
#=================================================
#ynh_add_config --template="../conf/mongod.conf" --destination="/etc/mongod.conf"
echo -e "replication:\n replSetName: \"rs01\"" | sudo tee -a /etc/mongod.conf
#=================================================
# INTEGRATE SERVICE IN YUNOHOST
#=================================================