From 07cfdd73aa5d7b081d586db3d265327dfb76b0ad Mon Sep 17 00:00:00 2001 From: wiz Date: Fri, 18 Sep 2020 18:08:59 +0900 Subject: [PATCH] Fix upgrade script not restarting node due to new command line args --- production/mempool-kill-all | 0 production/mempool-upgrade-all | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 production/mempool-kill-all diff --git a/production/mempool-kill-all b/production/mempool-kill-all old mode 100644 new mode 100755 diff --git a/production/mempool-upgrade-all b/production/mempool-upgrade-all index 57bbbe2f6..084d1f038 100755 --- a/production/mempool-upgrade-all +++ b/production/mempool-upgrade-all @@ -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}"