[Unit]
Description=Cumulus Linux Quagga BGP Daemon
After=syslog.target networking.service zebra.service
+Requires=zebra.service
OnFailure=heartbeat-failed@%n.service
[Service]
TimeoutSec=1m
WatchdogSec=60s
RestartSec=5
+Restart=on-abnormal
LimitNOFILE=1024
ExecStart=/usr/lib/quagga/bgpd $BGPD_OPTIONS
ExecStartPost=/usr/bin/vtysh -b -n
[Unit]
Description=IS-IS routing daemon
After=syslog.target networking.service zebra.service
+Requires=zebra.service
OnFailure=heartbeat-failed@%n.service
[Service]
[Unit]
Description=OSPF routing daemon for IPv6
After=syslog.target networking.service zebra.service
+Requires=zebra.service
OnFailure=heartbeat-failed@%n.service
[Service]
[Unit]
Description=OSPF routing daemon
After=syslog.target networking.service zebra.service
+Requires=zebra.service
OnFailure=heartbeat-failed@%n.service
[Service]
ExecStart=/usr/lib/quagga/ospfd $OSPFD_OPTIONS
ExecStartPost=/usr/bin/vtysh -b -n
[Install]
-WantedBy=networkonline.target
+WantedBy=network-online.target
--- /dev/null
+[Unit]
+Description=OSPF routing daemon %I
+After=syslog.target networking.service zebra.service
+Requires=zebra.service
+OnFailure=heartbeat-failed@%n.service
+
+[Service]
+Type=notify
+Nice=-5
+EnvironmentFile=/etc/default/quagga
+StartLimitInterval=3m
+StartLimitBurst=3
+TimeoutSec=1m
+WatchdogSec=60s
+RestartSec=5
+Restart=on-abnormal
+LimitNOFILE=1024
+ExecStart=/usr/lib/quagga/ospfd $OSPFD_OPTIONS -n %I
+ExecStartPost=/usr/bin/vtysh -b -n
+[Install]
+WantedBy=network-online.target
[Unit]
Description=RIP routing daemon
After=syslog.target networking.service zebra.service
+Requires=zebra.service
OnFailure=heartbeat-failed@%n.service
[Service]
[Unit]
Description=RIP routing daemon for IPv6
After=syslog.target networking.service zebra.service
+Requires=zebra.service
OnFailure=heartbeat-failed@%n.service
[Service]