mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-13 10:24:46 +02:00
19 lines
337 B
Bash
19 lines
337 B
Bash
#!/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"
|
|
}
|