From 6d572545b665dc88aa1166b9e3c34037d06eb664 Mon Sep 17 00:00:00 2001 From: zeus Date: Mon, 11 Jan 2021 00:48:17 +0200 Subject: [PATCH] install --- install.sh | 2 +- src-local/start-server.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 67cecdd..47363c1 100644 --- a/install.sh +++ b/install.sh @@ -83,7 +83,7 @@ cat << FOE > $wdir/src-local/ecosystem.config.js module.exports = { "apps": [ { - "name" : "server", + "name" : "hybridserver", "autorestart" : true, "watch" : true, "cwd" : "$wdir/src-local", diff --git a/src-local/start-server.sh b/src-local/start-server.sh index 7f1178d..c42318d 100755 --- a/src-local/start-server.sh +++ b/src-local/start-server.sh @@ -1,2 +1,3 @@ +pm2 stop hybridserver pm2 start ecosystem.config.js --watch --ignore-watch="node_modules"