aboutsummaryrefslogblamecommitdiffstats
path: root/main/amavisd-milter/amavisd-milter.initd
blob: c0daeb46a0281cc5158d0df6bdce32364b4e0a7a (plain) (tree)
1
2
3
4
5
6
7





                                        
                                                                                 











                                            
#!/sbin/openrc-run

pidfile="/var/amavis/amavisd-milter.pid"

name=amavisd-milter
command="/usr/sbin/$name"
command_args="-B -w $workdir -s $socket_milter -S $socket_amavis -m $connections"

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

depend() {
	need amavisd
	need net
	after firewall
}

start_post() {
	chmod 0770 "$socket_milter"
}