diff options
author | Richard Adams <podilarius@yahoo.com> | 2012-07-30 14:02:05 -0300 |
---|---|---|
committer | Richard Adams <podilarius@yahoo.com> | 2012-07-30 14:02:05 -0300 |
commit | 62a1d26e3b2afc14d9bb3636fe9780106cef24f5 (patch) | |
tree | 9210f99f15f646052dc2bb4339346f493bdd4982 /config | |
parent | a655a040cdf33e1f83fc55c339c4686e3fcf9a99 (diff) | |
download | pfsense-packages-62a1d26e3b2afc14d9bb3636fe9780106cef24f5.tar.gz pfsense-packages-62a1d26e3b2afc14d9bb3636fe9780106cef24f5.tar.bz2 pfsense-packages-62a1d26e3b2afc14d9bb3636fe9780106cef24f5.zip |
Update config/squid3/proxy_monitor.sh
Diffstat (limited to 'config')
-rw-r--r-- | config/squid3/proxy_monitor.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/squid3/proxy_monitor.sh b/config/squid3/proxy_monitor.sh index fa5a87bb..41c16129 100644 --- a/config/squid3/proxy_monitor.sh +++ b/config/squid3/proxy_monitor.sh @@ -27,6 +27,12 @@ # POSSIBILITY OF SUCH DAMAGE. # +IS_RUNNING=`ps awx |grep -c "[p]roxy_monitor.sh"` +if [ $IS_RUNNING -gt 0 ]; then + exit 0 +fi + + set -e LOOP_SLEEP=55 |