Lines 29-45
Link Here
|
29 |
command="%%PREFIX%%/libexec/milter-regex" |
29 |
command="%%PREFIX%%/libexec/milter-regex" |
30 |
pidfile="${spooldir}/milter-regex.pid" |
30 |
pidfile="${spooldir}/milter-regex.pid" |
31 |
required_files="%%PREFIX%%/etc/milter-regex.conf" |
31 |
required_files="%%PREFIX%%/etc/milter-regex.conf" |
32 |
start_precmd="milterregex_prestart" |
|
|
33 |
stop_postcmd="milterregex_poststop" |
32 |
stop_postcmd="milterregex_poststop" |
34 |
|
33 |
|
35 |
milterregex_prestart() { |
|
|
36 |
if test ! -d "${spooldir}" |
37 |
then |
38 |
mkdir -m 750 -p "${spooldir}" |
39 |
chown mailnull:mail "${spooldir}" |
40 |
fi |
41 |
} |
42 |
|
43 |
milterregex_poststop() { |
34 |
milterregex_poststop() { |
44 |
/bin/rm -f ${pidfile} |
35 |
/bin/rm -f ${pidfile} |
45 |
} |
36 |
} |