aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authorMarcello Coutinho <marcellocoutinho@gmail.com>2012-07-30 11:09:41 -0700
committerMarcello Coutinho <marcellocoutinho@gmail.com>2012-07-30 11:09:41 -0700
commit470463d75e84cefcdf28e7fe800d17bd817f465a (patch)
tree9210f99f15f646052dc2bb4339346f493bdd4982 /config/squid3
parenta655a040cdf33e1f83fc55c339c4686e3fcf9a99 (diff)
parent62a1d26e3b2afc14d9bb3636fe9780106cef24f5 (diff)
downloadpfsense-packages-470463d75e84cefcdf28e7fe800d17bd817f465a.tar.gz
pfsense-packages-470463d75e84cefcdf28e7fe800d17bd817f465a.tar.bz2
pfsense-packages-470463d75e84cefcdf28e7fe800d17bd817f465a.zip
Merge pull request #300 from Podilarius/patch-1
Update config/squid3/proxy_monitor.sh
Diffstat (limited to 'config/squid3')
-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