mirror of
https://github.com/b4tman/docker-squid.git
synced 2024-11-22 11:16:55 +00:00
entrypoint removed
This commit is contained in:
parent
711ae72e14
commit
1df9cc980e
@ -1,15 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ "$1" = 'squid' ]; then
|
|
||||||
mkdir -p /var/log/squid
|
|
||||||
mkdir -p /var/cache/squid
|
|
||||||
|
|
||||||
if [ ! "$(ls -A /var/cache/squid)" ]; then
|
|
||||||
/usr/sbin/squid -f ${SQUID_CONFIG_FILE} -z
|
|
||||||
fi
|
|
||||||
|
|
||||||
exec /usr/sbin/squid -f ${SQUID_CONFIG_FILE} -NYCd 1
|
|
||||||
else
|
|
||||||
exec "$@"
|
|
||||||
fi
|
|
Loading…
Reference in New Issue
Block a user