Blame SOURCES/0001-systemd-change-the-WantedBy-target.patch

75bcce
diff --git a/redhat/babeld.service b/redhat/babeld.service
426153
index b1ea943..a7ea7fe 100644
75bcce
--- a/redhat/babeld.service
75bcce
+++ b/redhat/babeld.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=Babel routing daemon
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/babeld.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/babeld.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/babeld -d $BABELD_OPTS -f /etc/quagga/babeld.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/bgpd.service b/redhat/bgpd.service
426153
index 5040284..af923df 100644
75bcce
--- a/redhat/bgpd.service
75bcce
+++ b/redhat/bgpd.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=BGP routing daemon
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/bgpd.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/bgpd.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/bgpd -d $BGPD_OPTS -f /etc/quagga/bgpd.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/isisd.service b/redhat/isisd.service
426153
index 4cdf67d..8687601 100644
75bcce
--- a/redhat/isisd.service
75bcce
+++ b/redhat/isisd.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=IS-IS routing daemon
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/isisd.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/isisd.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/isisd -d $ISISD_OPTS -f /etc/quagga/isisd.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/ospf6d.service b/redhat/ospf6d.service
426153
index 3c9c466..d13e970 100644
75bcce
--- a/redhat/ospf6d.service
75bcce
+++ b/redhat/ospf6d.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=OSPF routing daemon for IPv6
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/ospf6d.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/ospf6d.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/ospf6d -d $OSPF6D_OPTS -f /etc/quagga/ospf6d.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/ospfd.service b/redhat/ospfd.service
426153
index 5e3de23..959e649 100644
75bcce
--- a/redhat/ospfd.service
75bcce
+++ b/redhat/ospfd.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=OSPF routing daemon
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/ospfd.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/ospfd.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/ospfd -d $OSPFD_OPTS -f /etc/quagga/ospfd.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/ripd.service b/redhat/ripd.service
426153
index d35dc47..8e7290e 100644
75bcce
--- a/redhat/ripd.service
75bcce
+++ b/redhat/ripd.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=RIP routing daemon
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/ripd.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/ripd.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/ripd -d $RIPD_OPTS -f /etc/quagga/ripd.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/ripngd.service b/redhat/ripngd.service
426153
index 567e888..1ba6dcf 100644
75bcce
--- a/redhat/ripngd.service
75bcce
+++ b/redhat/ripngd.service
426153
@@ -1,14 +1,15 @@
75bcce
 [Unit]
75bcce
 Description=RIP routing daemon for IPv6
426153
-BindTo=zebra.service
75bcce
-After=syslog.target network.target zebra.service
426153
+BindsTo=zebra.service
75bcce
+After=zebra.service
75bcce
 ConditionPathExists=/etc/quagga/ripngd.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/ripngd.pid
426153
 EnvironmentFile=/etc/sysconfig/quagga
426153
 ExecStart=/usr/sbin/ripngd -d $RIPNGD_OPTS -f /etc/quagga/ripngd.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target
75bcce
diff --git a/redhat/zebra.service b/redhat/zebra.service
426153
index 27c3a52..259fc20 100644
75bcce
--- a/redhat/zebra.service
75bcce
+++ b/redhat/zebra.service
426153
@@ -1,14 +1,16 @@
75bcce
 [Unit]
75bcce
 Description=GNU Zebra routing manager
75bcce
-After=syslog.target network.target
75bcce
+Wants=network.target
75bcce
+Before=network.target
75bcce
 ConditionPathExists=/etc/quagga/zebra.conf
75bcce
 
75bcce
 [Service]
426153
 Type=forking
426153
+PIDFile=/run/quagga/zebra.pid
426153
 EnvironmentFile=-/etc/sysconfig/quagga
426153
 ExecStartPre=/sbin/ip route flush proto zebra
426153
 ExecStart=/usr/sbin/zebra -d $ZEBRA_OPTS -f /etc/quagga/zebra.conf
75bcce
 Restart=on-abort
75bcce
 
75bcce
 [Install]
75bcce
-WantedBy=network.target
75bcce
+WantedBy=multi-user.target