Maybe we can finally get rid of these code bits which shouldn't be required ?
[xogo.git] / stop.sh
1 #!/bin/sh
2
3 # https://stackoverflow.com/questions/13939038/how-do-you-run-a-command-for-each-line-of-a-file
4 source ./.pid
5 kill -9 -`ps p $NODE_PID -o pgid | grep "[0-9]\+" | tr -d " "`