View | Details | Raw Unified | Return to bug 105262
Collapse All | Expand All

(-)milter-bogom.sh.in (-9 / +9 lines)
Lines 5-28 Link Here
5
# BEFORE: sendmail
5
# BEFORE: sendmail
6
# KEYWORD: milterbogom
6
# KEYWORD: milterbogom
7
7
8
milterbogom_enable=${milterbogom_enable-"NO"}
9
milterbogom_socket=${milterbogom_socket-"unix:/var/run/bogom/milter.sock"}
10
milterbogom_user=${milterbogom_user-"bogomilter"}
11
milterbogom_pid=${milterbogom_pid-"/var/run/bogom/bogom.pid"}
12
milterbogom_flags=${milterbogom_flags-"-u ${milterbogom_user} \
13
-s ${milterbogom_socket} -p ${milterbogom_pid}"}
14
15
16
. %%RC_SUBR%%
8
. %%RC_SUBR%%
17
9
18
name=milterbogom
10
name=milterbogom
19
pidfile=${milterbogom_pid}
20
rcvar=`set_rcvar`
11
rcvar=`set_rcvar`
21
command=%%PREFIX%%/sbin/bogom
12
command=%%PREFIX%%/sbin/bogom
22
start_precmd="bogom_precmd"
13
start_precmd="bogom_precmd"
23
stop_postcmd="bogom_postcmd"
14
stop_postcmd="bogom_postcmd"
24
15
25
load_rc_config $name
16
load_rc_config $name
17
18
milterbogom_enable=${milterbogom_enable-"NO"}
19
milterbogom_socket=${milterbogom_socket-"unix:/var/run/bogom/milter.sock"}
20
milterbogom_user=${milterbogom_user-"bogomilter"}
21
milterbogom_pid=${milterbogom_pid-"/var/run/bogom/bogom.pid"}
22
milterbogom_flags=${milterbogom_flags-"-u ${milterbogom_user} \
23
-s ${milterbogom_socket} -p ${milterbogom_pid}"}
24
25
pidfile=${milterbogom_pid}
26
26
27
bogom_precmd()
27
bogom_precmd()
28
{
28
{

Return to bug 105262