Explorar el Código

Kill with SIG_TERM

Innokenty Enikeev hace 9 años
padre
commit
db53349a9a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      kill-stale.sh

+ 1 - 1
kill-stale.sh

@@ -6,4 +6,4 @@
 DIR="$(dirname "$0")"
 test `find "$DIR/.watchdog" -mmin +2` || exit
 # Kill exising process
-pid=`lsof -iTCP:4016 -sTCP:LISTEN -t` && kill $pid
+pid=`lsof -iTCP:4016 -sTCP:LISTEN -t` && kill -9 $pid