diff --git a/pm2/process.json b/pm2/process.json new file mode 100644 index 0000000..fc1c82b --- /dev/null +++ b/pm2/process.json @@ -0,0 +1,139 @@ + +{ + + apps: [ + // First application + { + "name": "SilvrPipes", + "script": "pipes-server.js", + "cwd": "/home/martind2000/dev/Rinser", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + { + "name": "Silvrtree", + "script": "web-server.js", + "cwd": "/home/martind2000/dev/silvrgit", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + , + { + "name": "Lot", + "script": "lot.js", + "cwd": "/home/martind2000/dev/lot", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + { + "name": "NCI", + "script": "web-server.js", + "cwd": "/home/martind2000/dev/nci-quick-setup/node_modules/.bin/nci", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + { + "name": "Keeper", + "script": "keeper-server.js", + "cwd": "/home/martind2000/dev/keeper", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + { + "name": "SilvrAPI", + "script": "newapp.js", + "cwd": "/home/martind2000/dev/silvrapi", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + { + "name": "Logger", + "script": "logger-server.js", + "cwd": "/home/martind2000/dev/logger", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env_production: { + NODE_ENV: "production" + } + }, + { + "name": "Recipe", + "script": "recipe-server.js", + "cwd": "/var/www/recipes", + "watch": true, + "ignore_watch": [ + "node_modules" + ], + "merge_logs": true, + "autorestart": true, + "restart_delay": 3500, + "max_memory_restart": "300M", + env: { + COMMON_VARIABLE: "true" + }, + env_production: { + NODE_ENV: "production" + } + } + ] +}