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.
This commit is contained in:
parent
3e01ce28a8
commit
876e6e4b01
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue