From 329b8d12e35936429586c2f34ee1cd0e056258d5 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Tue, 7 Jun 2016 11:08:14 +0200 Subject: [PATCH] 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 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 $? -} -- 2.26.2