mirror of
https://gitlab.silvrtree.co.uk/martind2000/SODashServer.git
synced 2025-01-25 17:56:17 +00:00
PM2 process file
This commit is contained in:
parent
2d0e89bcb5
commit
36fdb22c8c
20
process.json
Normal file
20
process.json
Normal 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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user