1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2025-09-07 18:07:49 +00:00

ssl-bump: force remove pid (fix #154)

This commit is contained in:
2025-08-22 11:00:56 +03:00
committed by Dmitry Belyaev
parent 1b1aede330
commit 2a3391c562

View File

@@ -7,6 +7,11 @@ if [ ! -d /var/cache/squid/ssl_db ]; then
/usr/lib/squid/security_file_certgen -c -s /var/cache/squid/ssl_db -M 4MB
fi
# force remove pid
if [ -e /var/run/squid/squid.pid ]; then
rm -f /var/run/squid/squid.pid
fi
# init cache
/usr/sbin/squid -f "${SQUID_CONFIG_FILE}" --foreground -z