blob: b18b9c45c18f3c7ef5277a6c8c567ffaad139b67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/sbin/openrc-run
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
name="amavisd-milter"
command="/usr/sbin/${name}"
command_args="${DOPTIONS}"
command_user="amavis"
pidfile="${PIDFILE}"
depend() {
use logger dns amavisd sendmail
}
start_pre() {
# needed to avoid potential mi_stop errors
[ "${RC_CMD}" = "restart"] && sleep 4
}
|