commit: 329b8d12e35936429586c2f34ee1cd0e056258d5
Author: Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 7 09:08:14 2016 +0000
Commit: Jason Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Jun 7 09:08:14 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=329b8d12
mail-mta/opensmtpd: more robust openrc script
mail-mta/opensmtpd/files/smtpd.initd | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/mail-mta/opensmtpd/files/smtpd.initd
b/mail-mta/opensmtpd/files/smtpd.initd
index 6d254f1..9dd01a7 100644
--- a/mail-mta/opensmtpd/files/smtpd.initd
+++ b/mail-mta/opensmtpd/files/smtpd.initd
@@ -1,17 +1,12 @@
#!/sbin/openrc-run
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
command="smtpd"
-start_stop_daemon_args="--pidfile=/run/smtpd.pid"
+pidfile="/run/smtpd.pid"
description="SMTP daemon from OpenBSD"
depend() {
need net
}
-stop() {
- ebegin "Stopping smtpd"
- smtpctl stop
- eend $?
-}