supervisord.conf 423 Bytes
Newer Older
nabil el mahiri committed
1 2 3 4 5 6 7
[supervisord]
nodaemon=true

[program:redis]
command=redis-server --daemonize yes

[program:mongodb]
nabil el mahiri committed
8
command=mongod --fork --logpath /var/log/mongodb.log
nabil el mahiri committed
9

nabil el mahiri committed
10 11 12
[program:mongorestore]
command=mongorestore --host localhost --port 27017 --gzip --archive=/atlasvoyages/atlasvoyages-dev.archive

nabil el mahiri committed
13 14 15 16
[program:nginx]
command=/etc/init.d/nginx start

[program:pine]
nabil el mahiri committed
17
command=nohup node /atlasvoyages/index.js atlas-voyages > output.log &
nabil el mahiri committed
18 19