Bario: final fix
[xogo.git] / stop.sh
CommitLineData
41534b92
BA
1#!/bin/sh
2
3# https://stackoverflow.com/questions/13939038/how-do-you-run-a-command-for-each-line-of-a-file
4source ./.pid
5kill -9 -`ps p $NODE_PID -o pgid | grep "[0-9]\+" | tr -d " "`