From d5feff1e02d8e4f4541e325a639bc785bb1a5e6d Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 30 Aug 2011 15:27:45 +0100 Subject: Check for processes hanging around. --- bin/check-for-zombies | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/check-for-zombies (limited to 'bin/check-for-zombies') diff --git a/bin/check-for-zombies b/bin/check-for-zombies new file mode 100755 index 000000000..57f6793f0 --- /dev/null +++ b/bin/check-for-zombies @@ -0,0 +1,6 @@ +#!/bin/bash +# +# Kill parentless processes still hanging around + +pkill -HUP -P 1 -u $1 -f "perl.*fixmystreet_app" + -- cgit v1.2.3