summaryrefslogtreecommitdiff
blob: 50a200d9c7f422e20e31822447c6d946792547c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/runscript
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-mta/opensmtpd/files/smtpd.initd,v 1.3 2013/11/20 05:16:56 zx2c4 Exp $

command="smtpd"
start_stop_daemon_args="--pidfile=/var/run/smtpd.pid"
description="SMTP daemon from OpenBSD"

depend() {
	need net
}
stop() {
	ebegin "Stopping smtpd"
	smtpctl stop
	eend $?
}