summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Barisani <lcars@gentoo.org>2007-09-26 10:46:26 +0000
committerAndrea Barisani <lcars@gentoo.org>2007-09-26 10:46:26 +0000
commita94c5ceed4f9e10ea8bdd53a4a26c7ebcfacf2ac (patch)
tree6107e7223872a675e0168d12e09f62a8b6ae64cb /mail-mta/sendmail
parentsparc stable wrt #192258 (diff)
downloadgentoo-2-a94c5ceed4f9e10ea8bdd53a4a26c7ebcfacf2ac.tar.gz
gentoo-2-a94c5ceed4f9e10ea8bdd53a4a26c7ebcfacf2ac.tar.bz2
gentoo-2-a94c5ceed4f9e10ea8bdd53a4a26c7ebcfacf2ac.zip
fixed init script
(Portage version: 2.1.3.9)
Diffstat (limited to 'mail-mta/sendmail')
-rw-r--r--mail-mta/sendmail/ChangeLog5
-rw-r--r--mail-mta/sendmail/files/sendmail5
2 files changed, 7 insertions, 3 deletions
diff --git a/mail-mta/sendmail/ChangeLog b/mail-mta/sendmail/ChangeLog
index f165baf35ea8..b277e0f69a33 100644
--- a/mail-mta/sendmail/ChangeLog
+++ b/mail-mta/sendmail/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for mail-mta/sendmail
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.77 2007/09/10 09:09:48 lcars Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/ChangeLog,v 1.78 2007/09/26 10:46:26 lcars Exp $
+
+ 26 Sep 2007; <lcars@gentoo.org> files/sendmail:
+ The init script now kills using pid file, bug #193554.
10 Sep 2007; Andrea Barisani <lcars@gentoo.org> sendmail-8.13.6-r1.ebuild,
sendmail-8.13.7.ebuild, sendmail-8.13.7-r1.ebuild, sendmail-8.13.8.ebuild,
diff --git a/mail-mta/sendmail/files/sendmail b/mail-mta/sendmail/files/sendmail
index 39402b8df3d6..98f309bb30ab 100644
--- a/mail-mta/sendmail/files/sendmail
+++ b/mail-mta/sendmail/files/sendmail
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/files/sendmail,v 1.5 2005/06/18 23:03:37 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-mta/sendmail/files/sendmail,v 1.6 2007/09/26 10:46:26 lcars Exp $
depend() {
need net
@@ -20,6 +20,7 @@ start() {
stop() {
ebegin "Stopping sendmail"
- killall ${KILL_OPTS} sendmail
+ kill ${KILL_OPTS} `head -n 1 /var/run/sendmail.pid`
+ kill ${KILL_OPTS} `head -n 1 /var/spool/clientmqueue/sm-client.pid`
eend $?
}