aboutsummaryrefslogtreecommitdiffstats
path: root/main/opensmtpd/smtpd.initd
blob: 98881e8523f011099849529275a2970851394ae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run

name="SMTP Server"
command=/usr/sbin/smtpd
command_args="-F $SMTPD_OPTS"
command_background=yes
pidfile=/run/$RC_SVCNAME.pid
required_files=/etc/smtpd/smtpd.conf

depend() {
	need net localmount
	after bootmisc firewall
	use logger dns
	provide mta
}