Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
8 lines (7 sloc) 133 Bytes
if pgrep node
then
kill $(pgrep node)
echo "stopping all node processes"
else
echo "no node processes running"
fi