summaryrefslogtreecommitdiffstats
path: root/redhat/frr.service
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/frr.service')
-rw-r--r--redhat/frr.service7
1 files changed, 4 insertions, 3 deletions
diff --git a/redhat/frr.service b/redhat/frr.service
index 3ae0aabfe..01934a94e 100644
--- a/redhat/frr.service
+++ b/redhat/frr.service
@@ -1,6 +1,8 @@
[Unit]
Description=FRRouting (FRR)
-After=syslog.target networking.service
+Wants=network.target
+After=network-pre.target systemd-sysctl.service
+Before=network.target
OnFailure=heartbeat-failed@%n.service
[Service]
@@ -19,5 +21,4 @@ ExecStop=/usr/lib/frr/frr stop
ExecReload=/usr/lib/frr/frr reload
[Install]
-WantedBy=network-online.target
-
+WantedBy=multi-user.target