Move backend restart command from upgrade command into its own command

This commit is contained in:
wiz committed 2020-09-23 19:05:28 +09:00
1 parent ea0edc41e2
commit fa75c1b08d
2 files changed
+5 -2

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env zsh
ps uaxw|grep 'dist/index'|grep -v grep|awk '{print $2}'|xargs -n 1 kill
exit 0
-2
View File
@@ -36,8 +36,6 @@ do
npm run build
done
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}"