The squid3.service file is auto-generated. The actual upstream fix was:
commit 6ac65f75a971a4a87c18766f3fe9969e91cef591 Author: Mathieu Parent <sath...@debian.org for git.debian.org> Date: Thu Oct 8 09:40:50 2015 +0200 Set pidfile for systemd's sysv-generator This actually changes the followind settings (from systemctl cat squid.service): from: [Service] RemainAfterExit=yes to: [Service] RemainAfterExit=no PIDFile=/var/run/squid.pid diff --git a/debian/squid.rc b/debian/squid.rc index 204b676..a27fd88 100644 --- a/debian/squid.rc +++ b/debian/squid.rc @@ -4,6 +4,8 @@ # # Version: @(#)squid.rc 1.0 07-Jul-2006 lu...@debian.org # +# pidfile: /var/run/squid.pid +# ### BEGIN INIT INFO # Provides: squid # Required-Start: $network $remote_fs $syslog -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1544400 Title: squid3: systemctl reports squid is running when there is a bungled squid.conf and it has exited. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/1544400/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs