summaryrefslogtreecommitdiffstats
path: root/squid/entrypoint.sh
diff options
context:
space:
mode:
authorkhilman <khilman@users.noreply.github.com>2018-01-24 08:58:57 -0800
committerGitHub <noreply@github.com>2018-01-24 08:58:57 -0800
commitf14d69b382978069321acdec9a434ca85ac137da (patch)
tree90cdd4df15614ffe022778f986d551a63959712e /squid/entrypoint.sh
parent736fc3248108069d9f7d98fadc436aad3732dfab (diff)
parentc856c35e30f4465f8d14834d672a0dcbf06567fb (diff)
Merge pull request #13 from montjoie/bugfix
Bugfix
Diffstat (limited to 'squid/entrypoint.sh')
-rw-r--r--squid/entrypoint.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/squid/entrypoint.sh b/squid/entrypoint.sh
index 560d206..70bdf6e 100644
--- a/squid/entrypoint.sh
+++ b/squid/entrypoint.sh
@@ -1,5 +1,10 @@
#!/bin/bash
+if [ -e /var/run/squid.pid ];then
+ #echo "DEBUG: Removed old squid PID"
+ rm /var/run/squid.pid
+fi
+
# Create cache FS
if [ ! -e /var/spool/squid/00 ];then
squid -z || exit $?