Comment 13 for bug 1761096

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Thanks for --no-ask-password Sergio.

I like the suggestion of making /etc/resolvconf/update-libc.d/squid systemd aware.
From similar checks I know that you also want to check if it is active:

if [ -d /run/systemd/system ]; then
! systemctl is-active -q squid.service || systemctl reload squid.service >/dev/null

The above is untested, but you get my point - don't reload if it isn't active.