summaryrefslogtreecommitdiff
path: root/nonsystemd/exim-openrc/exim.initd
blob: 4dace4071260f7c2d6e8f7464c32dfd2cf0c8a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/openrc-run

description="EXIM internet mailer"

supervisor=supervise-daemon
command=/usr/bin/exim
command_args=${command_args:--bdf -q15m}
cfgfile=/etc/mail/exim.conf
required_files="$cfgfile"

depend() {
	use antivirus net
	provide mta
}

start_pre() {
	ebegin
	$command -bV >/dev/null 2>>${startuplog:-/dev/null}
	eend $?
}