diff options
author | Warren Baker <warren@decoy.co.za> | 2013-04-30 00:19:51 -0700 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2013-04-30 00:19:51 -0700 |
commit | 20765c96dc454d40d452fd4dbeb91c2ec5c53d12 (patch) | |
tree | db47e33521f83048c4edd034842e4720b71c3f75 /config/unbound | |
parent | d35deca0273b72bd9eb7e1f8bef4af351cfead94 (diff) | |
parent | c6c73306209c42fcf30ceacea410c99eeb2d8fac (diff) | |
download | pfsense-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/unbound')
-rwxr-xr-x | config/unbound/unbound_monitor.sh | 2 |
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 |