updated pm2 global

This commit is contained in:
Martin Donnelly 2017-09-05 13:42:52 +01:00
parent 3c9e9823e0
commit ee93544d7c

View File

@ -42,7 +42,7 @@
"name": "Lot", "name": "Lot",
"script": "lot.js", "script": "lot.js",
"cwd": "/home/martind2000/dev/lot", "cwd": "/home/martind2000/dev/lot",
"watch": true, "watch": false,
"ignore_watch": [ "ignore_watch": [
"node_modules" , ".git" "node_modules" , ".git"
], ],
@ -158,5 +158,25 @@
NODE_ENV: "prod" NODE_ENV: "prod"
} }
} }
,
{
"name": "Vulcan",
"script": "serve.js",
"cwd": "/home/martind2000/dev/vulcan",
"watch": false,
"ignore_watch": [
"node_modules"
],
"merge_logs": true,
"autorestart": true,
"restart_delay": 3500,
"max_memory_restart": "300M",
env: {
NODE_ENV: "prod"
},
env_production: {
NODE_ENV: "prod"
}
}
] ]
} }