net-misc/bird: Another fix for the init
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
parent
78542a187a
commit
ad2873fe79
|
@ -21,7 +21,7 @@ if [ ${BIRD_USER} ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
client_args="-s ${SOCK}"
|
client_args="-s ${SOCK}"
|
||||||
command_args="${client_args} -c ${CONF_FILE} ${BIRD_OPTS}"
|
command_args="${client_args} -c ${CONF_FILE} -P ${pidfile} ${BIRD_OPTS}"
|
||||||
client_args="${client_args} -r"
|
client_args="${client_args} -r"
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
|
@ -52,6 +52,10 @@ reload() {
|
||||||
eend $?
|
eend $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
start_post() {
|
||||||
|
checkpath -f -m 0655 -o bird:bird "${pidfile}"
|
||||||
|
}
|
||||||
|
|
||||||
stop_pre() {
|
stop_pre() {
|
||||||
if [ "${RC_CMD}" = "restart" ] ; then
|
if [ "${RC_CMD}" = "restart" ] ; then
|
||||||
check_run || return 1
|
check_run || return 1
|
||||||
|
|
Loading…
Reference in a new issue