Browse Source

install

master
zeus 4 years ago
parent
commit
6d572545b6
  1. 2
      install.sh
  2. 1
      src-local/start-server.sh

2
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",

1
src-local/start-server.sh

@ -1,2 +1,3 @@
pm2 stop hybridserver
pm2 start ecosystem.config.js --watch --ignore-watch="node_modules"

Loading…
Cancel
Save