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

(-)relayd (+9 lines)
Lines 20-30 Link Here
20
20
21
: ${relayd_enable="NO"}
21
: ${relayd_enable="NO"}
22
22
23
start_precmd="relayd_checkconfig"
24
reload_precmd="relayd_checkconfig"
25
restart_precmd="relayd_checkconfig"
23
command="/usr/local/sbin/relayd"
26
command="/usr/local/sbin/relayd"
24
relayctl="/usr/local/sbin/relayctl"
27
relayctl="/usr/local/sbin/relayctl"
25
reload_cmd="relayd_reload_cmd"
28
reload_cmd="relayd_reload_cmd"
26
extra_commands="reload"
29
extra_commands="reload"
27
30
31
relayd_checkconfig()
32
{
33
	echo "Performing sanity check on relayd configuration:"
34
	eval ${command} ${relayd_flags} -n
35
}
36
28
relayd_reload_cmd () {
37
relayd_reload_cmd () {
29
	${relayctl} reload
38
	${relayctl} reload
30
}
39
}

Return to bug 200914