aboutsummaryrefslogtreecommitdiffstats
path: root/main/amavisd-new/amavisd.initd
blob: 41f731d996d6c00392a199c3bae2cf2d7b2c8b66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/sbin/openrc-run

pidfile="/run/$RC_SVCNAME.pid"

name="amavisd"
command="/usr/sbin/$name"
command_args="-c /etc/amavisd.conf foreground"
command_background="yes"

start_stop_daemon_args="--user $user:$group"

depend() {
	need net
	use logger
	use antivirus
	before mta
}