aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRichard Adams <podilarius@yahoo.com>2012-07-30 14:02:05 -0300
committerRichard Adams <podilarius@yahoo.com>2012-07-30 14:02:05 -0300
commit62a1d26e3b2afc14d9bb3636fe9780106cef24f5 (patch)
tree9210f99f15f646052dc2bb4339346f493bdd4982 /config
parenta655a040cdf33e1f83fc55c339c4686e3fcf9a99 (diff)
downloadpfsense-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.sh6
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