From 54c059f1cbf2c963f34f2e2db226a815cc4ee03e Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 5 Jun 2018 17:11:07 +0200 Subject: [PATCH] redhat: remove wrong comment from spec file systemd support needs watchfrr Signed-off-by: Ruben Kerkhof --- redhat/frr.spec.in | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/redhat/frr.spec.in b/redhat/frr.spec.in index 58fc20b3a8..1d722c37c7 100644 --- a/redhat/frr.spec.in +++ b/redhat/frr.spec.in @@ -64,13 +64,9 @@ %{expand: %%global initsystem %(if [[ `/sbin/init --version 2> /dev/null` =~ upstart ]]; then echo upstart; elif [[ `readlink -f /sbin/init` = /usr/lib/systemd/systemd ]]; then echo systemd; elif [[ `systemctl` =~ -\.mount ]]; then echo systemd; fi)} %endif %endif -# -# If init system is systemd, then always disable watchfrr -# + +# If init system is systemd, then always enable watchfrr %if "%{initsystem}" == "systemd" - # Note: For systems with systemd, watchfrr will NOT be built. Systemd - # takes over the role of restarting crashed processes. Value will - # be overwritten with 0 below for systemd independent on the setting here %global with_watchfrr 1 %endif -- 2.39.5