summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-04-07 16:48:28 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-04-07 17:06:13 +0200
commite768b96bf3a4d27ccb27c82380a676ace69a2c1d (patch)
tree9166024ce9e42d1fa416f20a7152335cbe4765f6 /debian
parenttools: Make quagga script be more helpful (diff)
downloadfrr-e768b96bf3a4d27ccb27c82380a676ace69a2c1d.tar.xz
frr-e768b96bf3a4d27ccb27c82380a676ace69a2c1d.zip
debian: Add ability to call reload from systemctl
Add the ability to call 'systemctl reload <daemon>'. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Don Slice <dslice@cumulusnetworks.com>
Diffstat (limited to 'debian')
-rw-r--r--debian/bgpd.service1
-rw-r--r--debian/isisd.service1
-rw-r--r--debian/ospf6d.service1
-rw-r--r--debian/ospfd.service1
-rw-r--r--debian/ospfd@.service1
-rw-r--r--debian/ripd.service1
-rw-r--r--debian/ripngd.service1
-rw-r--r--debian/zebra.service1
8 files changed, 8 insertions, 0 deletions
diff --git a/debian/bgpd.service b/debian/bgpd.service
index d1e76cc45..6fb9560d6 100644
--- a/debian/bgpd.service
+++ b/debian/bgpd.service
@@ -20,5 +20,6 @@ ExecStartPost=/usr/bin/vtysh -b -n
ExecStopPost=-/usr/bin/touch /var/run/quagga/bgpd.was_running
ExecStopPost=-/bin/rm -f /var/run/quagga/bgpd.pid
ExecStopPost=-/bin/rm -f /var/run/quagga/bgpd.vty
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/isisd.service b/debian/isisd.service
index f8d3b7347..444d60f5f 100644
--- a/debian/isisd.service
+++ b/debian/isisd.service
@@ -20,5 +20,6 @@ ExecStartPost=/usr/bin/vtysh -b -n
ExecStopPost=-/bin/touch /var/run/quagga/isisd.was_running
ExecStopPost=-/bin/rm -f /var/run/quagga/isisd.pid
ExecStopPost=-/bin/rm -f /var/run/quagga/isisd.vty
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/ospf6d.service b/debian/ospf6d.service
index b212bd2f8..890fd0d83 100644
--- a/debian/ospf6d.service
+++ b/debian/ospf6d.service
@@ -19,5 +19,6 @@ 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
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/ospfd.service b/debian/ospfd.service
index cd3cad57d..e83cebe3c 100644
--- a/debian/ospfd.service
+++ b/debian/ospfd.service
@@ -20,5 +20,6 @@ ExecStartPost=/usr/bin/vtysh -b -n
ExecStopPost=-/usr/bin/touch /var/run/quagga/ospfd.was_running
ExecStopPost=-/bin/rm -f /var/run/quagga/ospfd.pid
ExecStopPost=-/bin/rm -f /var/run/quagga/ospfd.vty
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/ospfd@.service b/debian/ospfd@.service
index dc0ebc678..1b25e0f4b 100644
--- a/debian/ospfd@.service
+++ b/debian/ospfd@.service
@@ -20,5 +20,6 @@ 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
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/ripd.service b/debian/ripd.service
index 7342713ed..f70a316f5 100644
--- a/debian/ripd.service
+++ b/debian/ripd.service
@@ -20,5 +20,6 @@ ExecStartPost=/usr/bin/vtysh -b -n
ExecStopPost=-/usr/bin/touch /var/run/quagga/ripd.was_running
ExecStopPost=-/bin/rm -f /var/run/quagga/ripd.pid
ExecStopPost=-/bin/rm -f /var/run/quagga/ripd.vty
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/ripngd.service b/debian/ripngd.service
index 6c9e1c649..48878a645 100644
--- a/debian/ripngd.service
+++ b/debian/ripngd.service
@@ -20,5 +20,6 @@ ExecStartPost=/usr/bin/vtysh -b -n
ExecStopPost=-/bin/touch /var/run/quagga/ripngd.was_running
ExecStopPost=-/bin/rm -f /var/run/quagga/ripngd.pid
ExecStopPost=-/bin/rm -f /var/run/quagga/ripngd.vty
+ExecReload=/usr/lib/quagga/quagga-reload.py --reload /etc/quagga/Quagga.conf
[Install]
WantedBy=network-online.target
diff --git a/debian/zebra.service b/debian/zebra.service
index 74a068340..42b1d81fa 100644
--- a/debian/zebra.service
+++ b/debian/zebra.service
@@ -19,5 +19,6 @@ 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