From 876e6e4b01002f99e120819807c087da1b67997e Mon Sep 17 00:00:00 2001 From: Will Rouesnel Date: Wed, 18 May 2016 13:11:10 +1000 Subject: [PATCH] Use exec in squid.bsh so signals pass through correctly On shutdown with unit files, this image can lead to a very long stall due to not passing signals from bash to squid properly. --- docker-squid/squid.bsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-squid/squid.bsh b/docker-squid/squid.bsh index ca8e811..0e386c0 100755 --- a/docker-squid/squid.bsh +++ b/docker-squid/squid.bsh @@ -106,8 +106,8 @@ if [ "$PROXYCHAIN" = "yes" ]; then exit 1 fi # Start squid with proxychains - proxychains4 squid -N + exec proxychains4 squid -N else # Start squid normally - squid -N + exec squid -N fi