summaryrefslogtreecommitdiff
path: root/etc/rc.d/smtpd
blob: d58385cb3e94ab9a306a54c5411ea1559534ca63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/ksh
#
# $OpenBSD: smtpd,v 1.8 2022/10/14 11:02:43 kn Exp $

daemon="/usr/sbin/smtpd"

. /etc/rc.d/rc.subr

rc_configtest() {
	# use rc_exec here since daemon_flags may contain arguments with spaces
	rc_exec "${daemon} -n ${daemon_flags}"
}

rc_reload=NO

rc_cmd $1