da5d1384c5
* Server now handles websockets and sends tweets to websocket * Added new ecosystem for pm2 to control server/twitter
15 lines
307 B
JavaScript
15 lines
307 B
JavaScript
module.exports = {
|
|
'apps' : [{
|
|
'name': 'Traintimes Server',
|
|
'script': './server.js',
|
|
'watch': ['./server.js', 'live/build']
|
|
}, {
|
|
'name': 'Twitter Grabber',
|
|
'script': './twitter.js',
|
|
'watch': './twitter.js',
|
|
'watch_delay': 10000,
|
|
'cron_restart' : '0 4 * * */3'
|
|
}]
|
|
|
|
};
|