diff options
author | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-06-07 11:08:14 +0200 |
---|---|---|
committer | Jason A. Donenfeld <zx2c4@gentoo.org> | 2016-06-07 11:08:14 +0200 |
commit | 329b8d12e35936429586c2f34ee1cd0e056258d5 (patch) | |
tree | 93a1ac4c48a5bc2d2fd146511dbf7e269e4371c6 /mail-mta/opensmtpd | |
parent | mail-mta/opensmtpd: snapshot version bump (diff) | |
download | gentoo-329b8d12e35936429586c2f34ee1cd0e056258d5.tar.gz gentoo-329b8d12e35936429586c2f34ee1cd0e056258d5.tar.bz2 gentoo-329b8d12e35936429586c2f34ee1cd0e056258d5.zip |
mail-mta/opensmtpd: more robust openrc script
Diffstat (limited to 'mail-mta/opensmtpd')
-rw-r--r-- | mail-mta/opensmtpd/files/smtpd.initd | 9 |
1 files 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 $? -} |