Use nohup instead of pm2 for netstats dashboard

This commit is contained in:
phahulin 2017-06-17 21:40:18 +03:00 committed by GitHub
parent e008569df2
commit 63bab016cf
1 changed files with 3 additions and 2 deletions

View File

@ -147,8 +147,9 @@ install_dashboard() {
}
]
EOF
# nohup npm start &
pm2 startOrRestart app.json
echo "[\"${NETSTATS_SECRET}\"]" > ws_secret.json
nohup npm start &
#pm2 startOrRestart app.json
cd ..
echo "<====== install_dashboard"
}