Spaces:
Runtime error
Runtime error
# Start MongoDB | |
mongod --fork --logpath /var/log/mongodb.log --replSet rs01 | |
# Initialize replica set | |
mongo --eval "printjson(rs.initiate())" | |
# Start Rocket.Chat | |
cd /opt/Rocket.Chat | |
node main.js |