aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2013-04-30 00:19:51 -0700
committerWarren Baker <warren@decoy.co.za>2013-04-30 00:19:51 -0700
commit20765c96dc454d40d452fd4dbeb91c2ec5c53d12 (patch)
treedb47e33521f83048c4edd034842e4720b71c3f75 /config
parentd35deca0273b72bd9eb7e1f8bef4af351cfead94 (diff)
parentc6c73306209c42fcf30ceacea410c99eeb2d8fac (diff)
downloadpfsense-packages-20765c96dc454d40d452fd4dbeb91c2ec5c53d12.tar.gz
pfsense-packages-20765c96dc454d40d452fd4dbeb91c2ec5c53d12.tar.bz2
pfsense-packages-20765c96dc454d40d452fd4dbeb91c2ec5c53d12.zip
Merge pull request #438 from jean-m-cyr/master
There should only be one instance of unbound monitor running
Diffstat (limited to 'config')
-rwxr-xr-xconfig/unbound/unbound_monitor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/unbound/unbound_monitor.sh b/config/unbound/unbound_monitor.sh
index 95cc73f8..042866be 100755
--- a/config/unbound/unbound_monitor.sh
+++ b/config/unbound/unbound_monitor.sh
@@ -43,7 +43,7 @@ fi
PROCS=`/bin/pgrep -f unbound_monitor.sh | wc -l | awk '{print $1}'`
-if [ ${PROCS} -gt 2 ]; then
+if [ ${PROCS} -gt 1 ]; then
echo "There are another unbound monitor proccess running"
exit 0
fi