1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2024-09-21 08:48:05 +00:00
docker-squid/ssl-bump/run.sh
Dmitry 12abc8228d sslbump: rootless (#125)
sslbump: shell script instead of long cmd

add 'ssl-bump' image test

add access_for_localnet for image test

allow_all instead of localnet for test

change test conf

fix test compose
2024-01-24 15:43:29 +03:00

15 lines
305 B
Bash

#!/bin/sh
set -x
# init ssl_db
if [ ! -d /var/cache/squid/ssl_db ]; then
/usr/lib/squid/security_file_certgen -c -s /var/cache/squid/ssl_db -M 4MB
fi
# init cache
/usr/sbin/squid -f "${SQUID_CONFIG_FILE}" --foreground -z
# run squid
exec /usr/sbin/squid -f "${SQUID_CONFIG_FILE}" --foreground -YCd 1