From 825f9ab0d8d1a350f58c4e6efaf1cb8d51a655b8 Mon Sep 17 00:00:00 2001 From: Sami Samhuri Date: Fri, 27 Dec 2013 11:01:30 -0800 Subject: [PATCH] fix restart-discussd.sh script --- restart-discussd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restart-discussd.sh b/restart-discussd.sh index 766cd1b..20f86f6 100755 --- a/restart-discussd.sh +++ b/restart-discussd.sh @@ -1,5 +1,5 @@ #!/bin/zsh -ps ax | grep 'node discussd' | grep -v grep | cut -f1 -d' ' | xargs kill +ps ax | grep 'node discussd' | grep -v grep | awk '{print $1}' | xargs kill cd ~/discussd node discussd.js -h 0.0.0.0 -p 8000 >|discussd.log 2>>|discussd.log &!