summaryrefslogtreecommitdiffstats
path: root/squid/entrypoint.sh
diff options
context:
space:
mode:
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 $?