Fix start/upgrade scripts to properly restart the backend processes

This commit is contained in:
wiz committed 2020-05-26 13:23:55 +09:00
1 parent 73fb18b929
commit 01ac06b096
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@
for site in mainnet liquid testnet
do
cd "${HOME}/${site}/backend/"
screen -dmS "${site}" npm run production
screen -dmS "${site}" sh -c 'while true;do npm run production;sleep 1;done'
done
#cd "${HOME}/webhook/"