PM2 process file

This commit is contained in:
Martin Donnelly 2016-06-06 10:26:31 +01:00
parent 2d0e89bcb5
commit 36fdb22c8c

20
process.json Normal file
View File

@ -0,0 +1,20 @@
{
"apps": [
{
"name": "SODashServer",
"script": "app.js",
"cwd": "/home/azureuser/live",
"watch": true,
"instances": 1,
"exec_mode": "cluster",
"combine_logs": true,
"max_memory_restart": "150M",
"restart_delay": 5000,
"ignore_watch": [
"[\\/\\\\]\\./",
"node_modules",
"server/static"
]
}
]
}