mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 15:30:02 +00:00

The <daemon>.pid and <daemon>.vty files were not being removed on shutdown. This was causing issues w/ logrotate becaue it depends on pid files being correct about what is running in order to not error out. Fixed some additional debugs accidently left in the quagga script. Ticket: CM-9293 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
24 lines
626 B
Desktop File
24 lines
626 B
Desktop File
[Unit]
|
|
Description=OSPF routing daemon for IPv6
|
|
After=syslog.target networking.service zebra.service
|
|
Requires=zebra.service
|
|
OnFailure=heartbeat-failed@%n.service
|
|
|
|
[Service]
|
|
Nice=-5
|
|
Type=notify
|
|
EnvironmentFile=/etc/default/quagga
|
|
StartLimitInterval=3m
|
|
StartLimitBurst=6
|
|
TimeoutSec=1m
|
|
WatchdogSec=60s
|
|
RestartSec=5
|
|
Restart=on-abnormal
|
|
ExecStart=/usr/lib/quagga/ospf6d $OSPF6D_OPTIONS
|
|
ExecStartPost=/usr/bin/vtysh -b -n
|
|
ExecStopPost=-/usr/bin/touch /var/run/quagga/ospf6d.was_running
|
|
ExecStopPost=-/bin/rm -f /var/run/quagga/ospf6d.pid
|
|
ExecStopPost=-/bin/rm -f /var/run/quagga/ospf6d.vty
|
|
[Install]
|
|
WantedBy=network-online.target
|