From: Sri Mohana Singamsetty Date: Tue, 6 Nov 2018 17:46:06 +0000 (-0800) Subject: watchfrr: replace /usr/sbin/service frr with /usr/lib/frr/frr script X-Git-Tag: frr-7.1-dev~209^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=eae8bbce912ec819ae5116cc748db0253aecf8ce;p=matthieu%2Ffrr.git watchfrr: replace /usr/sbin/service frr with /usr/lib/frr/frr script Need to use /usr/lib/frr/frr script for start/stop/restart of FRR. /usr/sbin/service frr command is not working as expected. Signed-off-by: Sri Mohana Singamsetty --- diff --git a/tools/etc/frr/daemons.conf b/tools/etc/frr/daemons.conf index bd0e370d1e..94221301eb 100644 --- a/tools/etc/frr/daemons.conf +++ b/tools/etc/frr/daemons.conf @@ -24,7 +24,8 @@ fabricd_options=" --daemon -A 127.0.0.1" # The list of daemons to watch is automatically generated by the init script. watchfrr_enable=yes -watchfrr_options=(-d -r /usr/sbin/servicebBfrrbBrestartbB%s -s /usr/sbin/servicebBfrrbBstartbB%s -k /usr/sbin/servicebBfrrbBstopbB%s -b bB) + +watchfrr_options=(-d -r /usr/lib/frr/frrbBrestartbB%s -s /usr/lib/frr/frrbBstartbB%s -k /usr/lib/frr/frrbBstopbB%s -b bB) # If valgrind_enable is 'yes' the frr daemons will be started via valgrind. # The use case for doing so is tracking down memory leaks, etc in frr.