summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xcheck-qrunner-count.bash6
1 files changed, 3 insertions, 3 deletions
diff --git a/check-qrunner-count.bash b/check-qrunner-count.bash
index 971c004..c1670be 100755
--- a/check-qrunner-count.bash
+++ b/check-qrunner-count.bash
@@ -1,9 +1,9 @@
#!/bin/sh
-if [ `pgrep -f qrunner | wc -l` -ne 10 ]
+if [ $(pgrep -f "mailman/bin/qrunner" | wc -l) -ne 8 ]
then
echo 'Nicht genau 8 Mailman-Queue-Runner! Mailman neustarten?'
echo
- pgrep -fl qrunner
- pgrep -f qrunner | wc -l
+ pgrep -fl "mailman/bin/qrunner"
+ pgrep -f "mailman/bin/qrunner" | wc -l
fi