Full ecosystem for PM2

This commit is contained in:
Martin Donnelly 2016-07-04 13:03:25 +01:00
parent 34e427e3ed
commit 54615e2c8b

View File

@ -125,7 +125,7 @@
{ {
"name": "Recipe", "name": "Recipe",
"script": "recipe-server.js", "script": "recipe-server.js",
"cwd": "/var/www/recipes", "cwd": "/home/martind2000/dev/recipes",
"watch": true, "watch": true,
"ignore_watch": [ "ignore_watch": [
"node_modules" , ".git" "node_modules" , ".git"
@ -136,7 +136,7 @@
"max_memory_restart": "300M", "max_memory_restart": "300M",
"env_production": { "env_production": {
"NODE_ENV": "production", "NODE_ENV": "production",
"DB_HOME" : "/home/martind2000" "DB_HOME" : "/home/martind2000"
} }
} }
] ]