From: Jason A. Donenfeld Date: Tue, 7 Jun 2016 09:08:14 +0000 (+0200) Subject: mail-mta/opensmtpd: more robust openrc script X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=329b8d12e35936429586c2f34ee1cd0e056258d5;p=gentoo.git mail-mta/opensmtpd: more robust openrc script --- diff --git a/mail-mta/opensmtpd/files/smtpd.initd b/mail-mta/opensmtpd/files/smtpd.initd index 6d254f162400..9dd01a79dde5 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 $? -}