aboutsummaryrefslogtreecommitdiff
path: root/pm2.json
diff options
context:
space:
mode:
authorPitu <[email protected]>2019-03-12 04:45:47 +0000
committerPitu <[email protected]>2019-03-12 04:45:47 +0000
commit390eeb9b0718f6736600cbfa47d3d2983cde01d9 (patch)
tree0e0d798a3cec0a36b44ea5050a76a799c7d92727 /pm2.json
parentMerge branch 'dev' of github.com:WeebDev/lolisafe into dev (diff)
downloadhost.fuwn.me-390eeb9b0718f6736600cbfa47d3d2983cde01d9.tar.xz
host.fuwn.me-390eeb9b0718f6736600cbfa47d3d2983cde01d9.zip
Automated pm2 process spawn
Diffstat (limited to 'pm2.json')
-rw-r--r--pm2.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/pm2.json b/pm2.json
new file mode 100644
index 0000000..3be4f86
--- /dev/null
+++ b/pm2.json
@@ -0,0 +1,26 @@
+{
+ "apps" : [
+ {
+ "name": "lolisafe-api",
+ "script": "npm",
+ "args": "run api",
+ "env": {
+ "NODE_ENV": "production"
+ },
+ "env_production" : {
+ "NODE_ENV": "production"
+ }
+ },
+ {
+ "name": "lolisafe-website",
+ "script": "npm",
+ "args": "run site",
+ "env": {
+ "NODE_ENV": "production"
+ },
+ "env_production" : {
+ "NODE_ENV": "production"
+ }
+ }
+ ]
+}