@@ -1,4 +1,4 @@
git pull origin master
go build ./cmd/master.go
-ps aux | grep master | awk '{print "kill -9 " $2}' | sudo sh -x
+ps aux | grep master | awk '{print "kill -9 " $2}' | sh -x
nohup ./master &
go build ./cmd/slave.go
-ps aux | grep slave | awk '{print "kill -9 " $2}' | sudo sh -x
+ps aux | grep slave | awk '{print "kill -9 " $2}' | sh -x
nohup ./slave &