projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ebd586
)
mail-mta/opensmtpd: more robust openrc script
author
Jason A. Donenfeld
<zx2c4@gentoo.org>
Tue, 7 Jun 2016 09:08:14 +0000
(11:08 +0200)
committer
Jason A. Donenfeld
<zx2c4@gentoo.org>
Tue, 7 Jun 2016 09:08:14 +0000
(11:08 +0200)
mail-mta/opensmtpd/files/smtpd.initd
patch
|
blob
|
history
diff --git
a/mail-mta/opensmtpd/files/smtpd.initd
b/mail-mta/opensmtpd/files/smtpd.initd
index 6d254f162400ec9c06f4529387951ea8aa98f1ab..9dd01a79dde5dc650ce9142379e408a046dc80d7 100644
(file)
--- a/
mail-mta/opensmtpd/files/smtpd.initd
+++ b/
mail-mta/opensmtpd/files/smtpd.initd
@@
-1,17
+1,12
@@
#!/sbin/openrc-run
-# Copyright 1999-201
5
Gentoo Foundation
+# Copyright 1999-201
6
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 $?
-}