]> git.puffer.fish Git - matthieu/frr.git/commitdiff
redhat: remove wrong comment from spec file
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 5 Jun 2018 15:11:07 +0000 (17:11 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 19 Jun 2018 07:57:52 +0000 (09:57 +0200)
systemd support needs watchfrr

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
redhat/frr.spec.in

index 58fc20b3a87bc235502df9d73d62ceccad34b7ee..1d722c37c799290634bcaa4dc494cc93813862f9 100644 (file)
     %{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