]> 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>
Sat, 26 Sep 2020 07:22:23 +0000 (09:22 +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 e2485fe8b8ca4775f77c84cdad49610f59a0611c..de7a158839227d689303b69525963ad7fc91b125 100644 (file)
@@ -17,4 +17,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