Use nohup instead of pm2 for netstats dashboard
This commit is contained in:
parent
e008569df2
commit
63bab016cf
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue