2015-02-12 22:59:01 +01:00
|
|
|
[
|
|
|
|
{
|
2015-03-03 18:52:13 +01:00
|
|
|
"name" : "eth",
|
|
|
|
"cwd" : "/home/ubuntu/bin/www/",
|
|
|
|
"script" : "bin/eth.sh",
|
|
|
|
"log_file" : "/home/ubuntu/logs/eth-log.log",
|
|
|
|
"out_file" : "/home/ubuntu/logs/eth-out.log",
|
|
|
|
"error_file" : "/home/ubuntu/logs/eth-err.log",
|
|
|
|
"merge_logs" : true,
|
|
|
|
"watch" : false,
|
|
|
|
"cron_restart" : "0 0 * * *",
|
|
|
|
"exec_interpreter" : "bash",
|
|
|
|
"exec_mode" : "fork_mode"
|
2015-02-12 22:59:01 +01:00
|
|
|
},
|
|
|
|
{
|
2015-03-03 18:52:13 +01:00
|
|
|
"name" : "node-app",
|
|
|
|
"cwd" : "/home/ubuntu/bin/www/",
|
|
|
|
"script" : "app.js",
|
|
|
|
"log_file" : "/home/ubuntu/logs/node-app-log.log",
|
|
|
|
"out_file" : "/home/ubuntu/logs/node-app-out.log",
|
|
|
|
"error_file" : "/home/ubuntu/logs/node-app-err.log",
|
|
|
|
"merge_logs" : true,
|
|
|
|
"watch" : false,
|
2015-03-14 18:59:31 +01:00
|
|
|
// "cron_restart" : "0 0 * * *",
|
2015-03-03 18:52:13 +01:00
|
|
|
"exec_interpreter" : "node",
|
|
|
|
"exec_mode" : "fork_mode",
|
2015-02-12 22:59:01 +01:00
|
|
|
"env":
|
|
|
|
{
|
2015-03-03 18:52:13 +01:00
|
|
|
"NODE_ENV" : "production",
|
|
|
|
"RPC_HOST" : "localhost",
|
|
|
|
"RPC_PORT" : "8080",
|
2015-03-19 14:32:07 +01:00
|
|
|
"INSTANCE_NAME" : "",
|
2015-03-03 18:52:13 +01:00
|
|
|
"WS_SERVER" : "wss://eth-netstats.herokuapp.com",
|
|
|
|
"WS_SECRET" : "eth-net-stats-has-a-secret",
|
2015-02-12 22:59:01 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|