Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 588056 | Differences between
and this patch

Collapse All | Expand All

(-)/etc/init.d/c-icap (+7 lines)
Lines 10-18 Link Here
10
    echo ${value:-$2}
10
    echo ${value:-$2}
11
}
11
}
12
12
13
extra_started_commands="reload"
13
command="/usr/libexec/c-icap"
14
command="/usr/libexec/c-icap"
14
command_arguments="${EXTRA_OPTS} -f ${configfile}"
15
command_arguments="${EXTRA_OPTS} -f ${configfile}"
15
pidfile=$(get_config PidFile /var/run/c-icap/c-icap.pid)
16
pidfile=$(get_config PidFile /var/run/c-icap/c-icap.pid)
17
commandssocket=$(get_config CommandsSocket /var/run/c-icap/c-icap.ctl)
16
18
17
depend() {
19
depend() {
18
	need localmount
20
	need localmount
Lines 25-27 Link Here
25
27
26
	checkpath -d "$(dirname "${cmdsocket}")" "$(dirname "${pidfile}")"
28
	checkpath -d "$(dirname "${cmdsocket}")" "$(dirname "${pidfile}")"
27
}
29
}
30
31
reload() {
32
	echo -n "reconfigure" > "${commandssocket}"
33
	echo -n "relog" > "${commandssocket}"
34
}

Return to bug 588056