summaryrefslogtreecommitdiffstats
path: root/tools/quagga.service
diff options
context:
space:
mode:
Diffstat (limited to 'tools/quagga.service')
-rw-r--r--tools/quagga.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/quagga.service b/tools/quagga.service
new file mode 100644
index 000000000..a2c1df38d
--- /dev/null
+++ b/tools/quagga.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Cumulus Linux Quagga
+After=syslog.target networking.service
+OnFailure=heartbeat-failed@%n.service
+
+[Service]
+Nice=-5
+EnvironmentFile=/etc/default/quagga
+Type=forking
+NotifyAccess=all
+StartLimitInterval=3m
+StartLimitBurst=3
+TimeoutSec=1m
+WatchdogSec=60s
+RestartSec=5
+Restart=on-abnormal
+LimitNOFILE=1024
+ExecStart=/usr/lib/quagga/quagga start
+ExecStop=/usr/lib/quagga/quagga stop
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
+[Install]
+WantedBy=network-online.target