diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-08-30 15:27:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-08-30 15:27:45 +0100 |
commit | d5feff1e02d8e4f4541e325a639bc785bb1a5e6d (patch) | |
tree | 329bd0614367aace4c4903aa0d1af7ff56c19101 /bin/check-for-zombies | |
parent | 6db1a6e8aa7646165433e6b331ce8aa9b4121205 (diff) |
Check for processes hanging around.
Diffstat (limited to 'bin/check-for-zombies')
-rwxr-xr-x | bin/check-for-zombies | 6 |
1 files changed, 6 insertions, 0 deletions
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" + |