aports/main/amavis/amavisd.initd
Milan P. Stanić f0daafa261 main/amavis: upgrade to 2.12.0 and rename from amavisd-new
renamed upstream to amavis
development moved to gitlab.com
add perl-mail-spamassassin to depends
add -openrc subpackage
2019-11-14 08:59:56 +00:00

17 lines
274 B
Bash

#!/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
}