diff options
author | khilman <khilman@users.noreply.github.com> | 2018-01-24 08:58:57 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-24 08:58:57 -0800 |
commit | f14d69b382978069321acdec9a434ca85ac137da (patch) | |
tree | 90cdd4df15614ffe022778f986d551a63959712e /squid/entrypoint.sh | |
parent | 736fc3248108069d9f7d98fadc436aad3732dfab (diff) | |
parent | c856c35e30f4465f8d14834d672a0dcbf06567fb (diff) |
Merge pull request #13 from montjoie/bugfix
Bugfix
Diffstat (limited to 'squid/entrypoint.sh')
-rw-r--r-- | squid/entrypoint.sh | 5 |
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 $? |