[Bug 1544400] Re: squid3: systemctl reports squid is running when there is a bungled squid.conf and it has exited.
Amos Jeffries
1544400 at bugs.launchpad.net
Thu Feb 11 04:33:48 UTC 2016
The squid3.service file is auto-generated. The actual upstream fix was:
commit 6ac65f75a971a4a87c18766f3fe9969e91cef591
Author: Mathieu Parent <sathieu at 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 luigi at 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
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
More information about the Ubuntu-server-bugs
mailing list