Fix upgrade script not restarting node due to new command line args

This commit is contained in:
wiz committed 2020-09-18 18:08:59 +09:00
1 parent 34a2970ff7
commit d32657cfd2
2 files changed
+1 -1

No files matched your search

Regular → Executable
View File
File mode changed.
+1 -1
View File
@@ -29,7 +29,7 @@ do
npm run build
done
ps uaxw|grep 'node dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
hostname=$(hostname)
keybase chat send --channel dev mempool "${hostname} updated to ${hash}"