diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2013-11-20 05:16:56 +0000 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2013-11-20 05:16:56 +0000 |
commit | b1a0ad170813aac6683d602c09eb28fb64b1433d (patch) | |
tree | 4a00accdb0e1ac1c994901dba3b08d132fdc21be /mail-mta | |
parent | Initial import, dependency of dev-libs/replicant (diff) | |
download | gentoo-2-b1a0ad170813aac6683d602c09eb28fb64b1433d.tar.gz gentoo-2-b1a0ad170813aac6683d602c09eb28fb64b1433d.tar.bz2 gentoo-2-b1a0ad170813aac6683d602c09eb28fb64b1433d.zip |
Let the init script know about the pid file so it can report the status correctly. This fixes bug #491160
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key A5DE03AE)
Diffstat (limited to 'mail-mta')
-rw-r--r-- | mail-mta/opensmtpd/ChangeLog | 6 | ||||
-rw-r--r-- | mail-mta/opensmtpd/files/smtpd.initd | 5 |
2 files changed, 8 insertions, 3 deletions
diff --git a/mail-mta/opensmtpd/ChangeLog b/mail-mta/opensmtpd/ChangeLog index 6a5fd910b23e..7ef593b8b107 100644 --- a/mail-mta/opensmtpd/ChangeLog +++ b/mail-mta/opensmtpd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for mail-mta/opensmtpd # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.33 2013/11/20 03:37:21 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/ChangeLog,v 1.34 2013/11/20 05:16:56 zx2c4 Exp $ + + 20 Nov 2013; Jason A. Donenfeld <zx2c4@gentoo.org> files/smtpd.initd: + Let the init script know about the pid file so it can report the status + correctly. This fixes bug #491160 *opensmtpd-5.3.3.201311182347_p1 (20 Nov 2013) diff --git a/mail-mta/opensmtpd/files/smtpd.initd b/mail-mta/opensmtpd/files/smtpd.initd index d7c7fb46593f..50a200d9c7f4 100644 --- a/mail-mta/opensmtpd/files/smtpd.initd +++ b/mail-mta/opensmtpd/files/smtpd.initd @@ -1,10 +1,11 @@ #!/sbin/runscript # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/files/smtpd.initd,v 1.2 2013/02/28 21:42:42 zx2c4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/files/smtpd.initd,v 1.3 2013/11/20 05:16:56 zx2c4 Exp $ command="smtpd" -description="Lightweight but featured daemon from OpenBSD" +start_stop_daemon_args="--pidfile=/var/run/smtpd.pid" +description="SMTP daemon from OpenBSD" depend() { need net |