summaryrefslogtreecommitdiffstats
path: root/tools/quagga.service
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetwroks.com>2016-06-14 01:07:49 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-14 14:15:48 +0200
commit803d367ed148d186f3271188c9d365b92cea1984 (patch)
treecc683dc015add3ffe59ff70bcb1f2c2e395fd1dd /tools/quagga.service
parentcumulus: Changes to make this code work for redhat (diff)
downloadfrr-803d367ed148d186f3271188c9d365b92cea1984.tar.xz
frr-803d367ed148d186f3271188c9d365b92cea1984.zip
debian: Modifications to allow redhat to work properly
Modify the control files to allow redhat to build properly. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
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