Public bug reported: found this is fixed in debian:
squid3: systemctl reports squid is running when there is a bungled squid.conf and it has exited. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800341 applying sudo mkdir /etc/systemd/system/squid3.service.d cat <<EOF | sudo tee /etc/systemd/system/squid3.service.d/pid.conf [Service] RemainAfterExit=no PIDFile=/var/run/squid3.pid EOF fixes issue ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: squid3 3.3.8-1ubuntu16 ProcVersionSignature: Ubuntu 4.2.0-27.32-generic 4.2.8-ckt1 Uname: Linux 4.2.0-27-generic x86_64 ApportVersion: 2.19.1-0ubuntu5 Architecture: amd64 Date: Thu Feb 11 11:23:48 2016 InstallationDate: Installed on 2016-02-05 (5 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) ProcEnviron: LANGUAGE=en_GB:en TERM=xterm-256color PATH=(custom, no user) LANG=en_GB.UTF-8 SHELL=/bin/bash SourcePackage: squid3 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: squid3 (Ubuntu) Importance: Undecided Status: Confirmed ** Affects: squid3 (Debian) Importance: Unknown Status: Unknown ** Tags: amd64 apport-bug wily ** Bug watch added: Debian Bug tracker #800341 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800341 ** Also affects: squid3 (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=800341 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to squid3 in 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-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs