From d1fd3f718c19d02dde3566b0b3fcd55f87e5cc30 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Mon, 4 Jul 2016 11:45:29 +0100 Subject: [PATCH] Full ecosystem for PM2 --- pm2/process.json | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) diff --git a/pm2/process.json b/pm2/process.json index 71c59c9..00d8871 100644 --- a/pm2/process.json +++ b/pm2/process.json @@ -9,14 +9,15 @@ "cwd": "/home/martind2000/dev/Rinser", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, { @@ -25,14 +26,15 @@ "cwd": "/home/martind2000/dev/silvrgit", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, @@ -42,14 +44,15 @@ "cwd": "/home/martind2000/dev/lot", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, { @@ -58,14 +61,15 @@ "cwd": "/home/martind2000/dev/nci-quick-setup/node_modules/nci", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, { @@ -74,14 +78,15 @@ "cwd": "/home/martind2000/dev/keeper", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, { @@ -90,14 +95,15 @@ "cwd": "/home/martind2000/dev/silvrapi", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, { @@ -106,14 +112,15 @@ "cwd": "/home/martind2000/dev/logger", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } }, { @@ -122,14 +129,15 @@ "cwd": "/var/www/recipes", "watch": true, "ignore_watch": [ - "node_modules" + "node_modules" , ".git" ], "merge_logs": true, "autorestart": true, "restart_delay": 3500, "max_memory_restart": "300M", "env_production": { - "NODE_ENV": "production" + "NODE_ENV": "production", + "DB_HOME" : "/home/martind2000" } } ]