mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 10:09:25 +00:00

Add the ability to call 'systemctl reload <daemon>'. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
25 lines
683 B
Desktop File
25 lines
683 B
Desktop File
[Unit]
|
|
Description=Cumulus Linux Quagga Zebra Daemon
|
|
After=networking.service syslog.service
|
|
OnFailure=heartbeat-failed@%n.service
|
|
|
|
[Service]
|
|
Nice=-5
|
|
EnvironmentFile=/etc/default/quagga
|
|
Type=notify
|
|
StartLimitInterval=3m
|
|
StartLimitBurst=3
|
|
TimeoutSec=1m
|
|
WatchdogSec=60s
|
|
RestartSec=5
|
|
Restart=on-abnormal
|
|
LimitNOFILE=1024
|
|
ExecStart=/usr/lib/quagga/zebra $ZEBRA_OPTIONS
|
|
ExecStartPost=/usr/bin/vtysh -b -n
|
|
ExecStopPost=-/usr/bin/touch /var/run/quagga/zebra.was_running
|
|
ExecStopPost=-/bin/rm -f /var/run/quagga/zebra.pid
|
|
ExecStopPost=-/bin/rm -f /var/run/quagga/zebra.vty
|
|
ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
|
|
[Install]
|
|
WantedBy=network-online.target
|