aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorRichard Adams <podilarius@yahoo.com>2012-07-30 15:04:31 -0300
committerRichard Adams <podilarius@yahoo.com>2012-07-30 15:04:31 -0300
commita0ec9245f91375c3a4bbd80b0271c1fc209a3936 (patch)
tree47eb108e5ec7ece7f2d834e3517b279490b844e7 /config
parenta655a040cdf33e1f83fc55c339c4686e3fcf9a99 (diff)
downloadpfsense-packages-a0ec9245f91375c3a4bbd80b0271c1fc209a3936.tar.gz
pfsense-packages-a0ec9245f91375c3a4bbd80b0271c1fc209a3936.tar.bz2
pfsense-packages-a0ec9245f91375c3a4bbd80b0271c1fc209a3936.zip
Update config/squid-reverse/proxy_monitor.sh
Diffstat (limited to 'config')
-rw-r--r--config/squid-reverse/proxy_monitor.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/squid-reverse/proxy_monitor.sh b/config/squid-reverse/proxy_monitor.sh
index a6d58e9b..5efe8639 100644
--- a/config/squid-reverse/proxy_monitor.sh
+++ b/config/squid-reverse/proxy_monitor.sh
@@ -27,6 +27,11 @@
# 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