rocket-chat-demo / start.sh
anuj
batman
f8454ad
raw
history blame
208 Bytes
#!/bin/bash
# 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