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

This commit is contained in:
wiz 2020-09-18 18:08:59 +09:00
parent 059e4d079a
commit 07cfdd73aa
No known key found for this signature in database
GPG Key ID: A394E332255A6173
2 changed files with 1 additions and 1 deletions

0
production/mempool-kill-all Normal file → Executable file
View File

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}"