From 1eeae29d1dbd4a8e4b1287dca507d8579a1594ba Mon Sep 17 00:00:00 2001 From: zeus Date: Sat, 20 Nov 2021 00:51:12 +0200 Subject: [PATCH] add pm2 --- playground-client/install-npm.sh | 2 +- playground-client/playground.config.js | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/playground-client/install-npm.sh b/playground-client/install-npm.sh index 560f81d..c6ec3f8 100755 --- a/playground-client/install-npm.sh +++ b/playground-client/install-npm.sh @@ -8,7 +8,7 @@ echo $BASEDIR cd $BASEDIR npm i -#npm cache clean --force +npm cache clean --force #cp $BASEDIR/VuetableCssConfig.js $BASEDIR/node_modules/vuetable-2/src/components #cp $BASEDIR/playground.config.js /home/node diff --git a/playground-client/playground.config.js b/playground-client/playground.config.js index 1a95c46..337c220 100644 --- a/playground-client/playground.config.js +++ b/playground-client/playground.config.js @@ -2,17 +2,8 @@ module.exports = { "apps": [{ "name" : "playground-nodejs", "autorestart" : true, - "watch" : true, "script" : "npm", "args" : "serve", - "pid_file" : "/home/node/pid.pid", - "log_type" : "json", - "log_file" : "/home/node/logfile", - "error_file" : "/home/node/errorfile", - "out_file" : "/home/node/outfile", - "log_date_format": "YYYY-MM-DD HH:mm Z", - "merge_logs" : true, -// "exec_mode" : "fork", "max_restarts": 10, "max_memory_restart": "500M", "restart_delay": 1000