Use debhelper to simplify tmpfiles installation in debian package.
authorGioele Barabucci <gioele@svario.it>
Tue, 23 Jan 2024 23:09:11 +0000 (23:09 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Tue, 23 Jan 2024 23:09:11 +0000 (23:09 +0000)
debian/dnsmasq.install
debian/dnsmasq.tmpfiles [new file with mode: 0644]
debian/tmpfiles.conf [deleted file]

index 6671afe..19449f7 100755 (executable)
@@ -5,5 +5,4 @@ debian/init-system-common => /usr/share/dnsmasq/init-system-common
 debian/systemd-helper => /usr/share/dnsmasq/systemd-helper
 dnsmasq.conf.example => /etc/dnsmasq.conf
 debian/readme.dnsmasq.d => /etc/dnsmasq.d/README
-debian/tmpfiles.conf => /usr/lib/tmpfiles.d/dnsmasq.conf
 debian/insserv => /etc/insserv.conf.d/dnsmasq
diff --git a/debian/dnsmasq.tmpfiles b/debian/dnsmasq.tmpfiles
new file mode 100644 (file)
index 0000000..0c0916f
--- /dev/null
@@ -0,0 +1 @@
+d /run/dnsmasq 755 dnsmasq nogroup
diff --git a/debian/tmpfiles.conf b/debian/tmpfiles.conf
deleted file mode 100644 (file)
index 0c0916f..0000000
+++ /dev/null
@@ -1 +0,0 @@
-d /run/dnsmasq 755 dnsmasq nogroup