]> git.puffer.fish Git - mirror/frr.git/commitdiff
Use dh_installinit capabilities to install frr.tmpfile
authorOndřej Surý <ondrej@sury.org>
Fri, 3 Jul 2020 10:46:46 +0000 (12:46 +0200)
committerOndřej Surý <ondrej@sury.org>
Fri, 3 Jul 2020 11:03:21 +0000 (13:03 +0200)
The debian/frr.conf was manually installed as systemd-tmpfiles configuration,
but the dh_installinit now has capability to install it automatically if named
debian/frr.tmpfile.

Signed-off-by: Ondřej Surý <ondrej@sury.org>
debian/frr.conf [deleted file]
debian/frr.install
debian/frr.tmpfile [new file with mode: 0644]

diff --git a/debian/frr.conf b/debian/frr.conf
deleted file mode 100644 (file)
index dee3cd8..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# Create the /run/frr directory at boot or from systemd-tmpfiles on install
-d /run/frr 0755 frr frr
index 5917c0da8447957cef99c76dc7c41de407d1d392..161497252ee59ddd6beb08d2551e15bd8bc95782 100644 (file)
@@ -16,4 +16,3 @@ usr/share/doc/frr/examples
 usr/share/man/
 usr/share/yang/
 tools/frr-reload usr/lib/frr/
-debian/frr.conf usr/lib/tmpfiles.d
diff --git a/debian/frr.tmpfile b/debian/frr.tmpfile
new file mode 100644 (file)
index 0000000..dee3cd8
--- /dev/null
@@ -0,0 +1,2 @@
+# Create the /run/frr directory at boot or from systemd-tmpfiles on install
+d /run/frr 0755 frr frr