diff options
author | 2003-01-23 22:00:55 +0000 | |
---|---|---|
committer | 2003-01-23 22:00:55 +0000 | |
commit | 14322721ace9854f7efdf55672f1532ce473a81d (patch) | |
tree | 25f0f33b28155a6002da3024a092df0e8ccfcb0d /net-mail/sendmail/files | |
parent | Add a MIPS patch (diff) | |
download | historical-14322721ace9854f7efdf55672f1532ce473a81d.tar.gz historical-14322721ace9854f7efdf55672f1532ce473a81d.tar.bz2 historical-14322721ace9854f7efdf55672f1532ce473a81d.zip |
Added a new ebuild which adds KILL_OPTS to the conf.d until a solution
that I can settle on the best way to stop sendmail appears.
Diffstat (limited to 'net-mail/sendmail/files')
-rw-r--r-- | net-mail/sendmail/files/digest-sendmail-8.12.7-r3 | 1 | ||||
-rw-r--r-- | net-mail/sendmail/files/sendmail-r3 | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/net-mail/sendmail/files/digest-sendmail-8.12.7-r3 b/net-mail/sendmail/files/digest-sendmail-8.12.7-r3 new file mode 100644 index 000000000000..9167d0f3de88 --- /dev/null +++ b/net-mail/sendmail/files/digest-sendmail-8.12.7-r3 @@ -0,0 +1 @@ +MD5 447c93b8ad6dad717a917aa7db9917ff sendmail.8.12.7.tar.gz 1878363 diff --git a/net-mail/sendmail/files/sendmail-r3 b/net-mail/sendmail/files/sendmail-r3 new file mode 100644 index 000000000000..c3d8b46d4994 --- /dev/null +++ b/net-mail/sendmail/files/sendmail-r3 @@ -0,0 +1,27 @@ +#!/sbin/runscript +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/net-mail/sendmail/files/sendmail-r3,v 1.1 2003/01/23 22:00:55 raker Exp $ + +. /etc/conf.d/sendmail + +depend() { + need net + use logger +} + +start() { + ebegin "Starting sendmail" + /usr/bin/newaliases > /dev/null 2>&1 + (cd /var/spool/mqueue; rm -f xf*) + /usr/sbin/sendmail ${SENDMAIL_OPTS} > /dev/null 2>&1 + /usr/sbin/sendmail ${CLIENTMQUEUE_OPTS} > /dev/null 2>&1 + eend $? +} + +stop() { + ebegin "Stopping sendmail" + kill ${KILL_OPTS} `sed -n -e '1p' ${PIDFILE}` + kill ${KILL_OPTS} `sed -n -e '1p' ${CM_PIDFILE}` + eend $? +} |