mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-21 11:50:07 +00:00

Fix the install location of the quagga script to /usr/bin/quagga. Additionally reset restart controls to a more normal level in the service files. Ticket: CM-9492 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
25 lines
644 B
Desktop File
25 lines
644 B
Desktop File
[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=10
|
|
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
|
|
ExecStopPost=-/bin/touch /var/run/quagga/ospfd@%I.was_running
|
|
ExecStopPost=-/bin/rm -f /var/run/quagga/ospfd@%I.pid
|
|
ExecStopPost=-/bin/rm -f /var/run/quagga/ospfd@%I.vty
|
|
[Install]
|
|
WantedBy=network-online.target
|