File 0001-systemd-change-the-WantedBy-target.patch of Package quagga

diff --git a/redhat/bgpd.service b/redhat/bgpd.service
index a50bfff..9ebabbd 100644
--- a/redhat/bgpd.service
+++ b/redhat/bgpd.service
@@ -2,13 +2,14 @@
 Description=BGP routing daemon
 BindsTo=zebra.service
 Wants=network.target
-After=zebra.service network-pre.target
+After=zebra.service
 Before=network.target
 ConditionPathExists=/etc/quagga/bgpd.conf
 Documentation=man:bgpd
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/bgpd.pid
 EnvironmentFile=/etc/sysconfig/quagga
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/bgpd.conf
 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/bgpd.conf
diff --git a/redhat/isisd.service b/redhat/isisd.service
index 93663aa..7b661c4 100644
--- a/redhat/isisd.service
+++ b/redhat/isisd.service
@@ -2,13 +2,14 @@
 Description=IS-IS routing daemon
 BindsTo=zebra.service
 Wants=network.target
-After=zebra.service network-pre.target
+After=zebra.service
 Before=network.target
 ConditionPathExists=/etc/quagga/isisd.conf
 Documentation=man:isisd
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/isisd.pid
 EnvironmentFile=/etc/sysconfig/quagga
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/isisd.conf
 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/isisd.conf
diff --git a/redhat/ospf6d.service b/redhat/ospf6d.service
index 3c1c978..eb85a92 100644
--- a/redhat/ospf6d.service
+++ b/redhat/ospf6d.service
@@ -2,13 +2,14 @@
 Description=OSPF routing daemon for IPv6
 BindsTo=zebra.service
 Wants=network.target
-After=zebra.service network-pre.target
+After=zebra.service
 Before=network.target
 ConditionPathExists=/etc/quagga/ospf6d.conf
 Documentation=man:ospf6d
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/ospf6d.pid
 EnvironmentFile=/etc/sysconfig/quagga
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/ospf6d.conf
 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/ospf6d.conf
diff --git a/redhat/ospfd.service b/redhat/ospfd.service
index 0084b6c..7e4fc38 100644
--- a/redhat/ospfd.service
+++ b/redhat/ospfd.service
@@ -2,13 +2,14 @@
 Description=OSPF routing daemon
 BindsTo=zebra.service
 Wants=network.target
-After=zebra.service network-pre.target
+After=zebra.service
 Before=network.target
 ConditionPathExists=/etc/quagga/ospfd.conf
 Documentation=man:ospfd
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/ospfd.pid
 EnvironmentFile=/etc/sysconfig/quagga
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/ospfd.conf
 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/ospfd.conf
diff --git a/redhat/ripd.service b/redhat/ripd.service
index 103b5a9..c19b3d7 100644
--- a/redhat/ripd.service
+++ b/redhat/ripd.service
@@ -2,13 +2,14 @@
 Description=RIP routing daemon
 BindsTo=zebra.service
 Wants=network.target
-After=zebra.service network-pre.target
+After=zebra.service
 Before=network.target
 ConditionPathExists=/etc/quagga/ripd.conf
 Documentation=man:ripd
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/ripd.pid
 EnvironmentFile=/etc/sysconfig/quagga
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/ripd.conf
 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/ripd.conf
diff --git a/redhat/ripngd.service b/redhat/ripngd.service
index 6fe6ba8..d1b799b 100644
--- a/redhat/ripngd.service
+++ b/redhat/ripngd.service
@@ -2,13 +2,14 @@
 Description=RIP routing daemon for IPv6
 BindsTo=zebra.service
 Wants=network.target
-After=zebra.service network-pre.target
+After=zebra.service
 Before=network.target
 ConditionPathExists=/etc/quagga/ripngd.conf
 Documentation=man:ripngd
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/zebra.pid
 EnvironmentFile=/etc/sysconfig/quagga
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/ripngd.conf
 ExecStartPre=-/bin/chown -f $QUAGGA_USER:$QUAGGA_GROUP /etc/quagga/ripngd.conf
diff --git a/redhat/zebra.service b/redhat/zebra.service
index fa5a004..b773fda 100644
--- a/redhat/zebra.service
+++ b/redhat/zebra.service
@@ -2,12 +2,12 @@
 Description=GNU Zebra routing manager
 Wants=network.target
 Before=network.target
-After=network-pre.target
 ConditionPathExists=/etc/quagga/zebra.conf
 Documentation=man:zebra
 
 [Service]
 Type=forking
+PIDFile=/run/quagga/zebra.pid
 EnvironmentFile=-/etc/sysconfig/quagga
 ExecStartPre=/sbin/ip route flush proto zebra
 ExecStartPre=-/bin/chmod -f 640 /etc/quagga/vtysh.conf /etc/quagga/zebra.conf
openSUSE Build Service is sponsored by