summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile1
-rw-r--r--systemd/birdscan.tmpfiles1
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 48af7e6..550624a 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,7 @@ install: all
install -Dm 644 config/default.json $(DESTDIR)/etc/birdscan/config.json
install -Dm 644 systemd/birdscan.service $(DESTDIR)$(PREFIX)/lib/systemd/system/birdscan.service
install -Dm 644 systemd/birdscan.sysusers $(DESTDIR)$(PREFIX)/lib/sysusers.d/birdscan.conf
+ install -Dm 644 systemd/birdscan.tmpfiles $(DESTDIR)$(PREFIX)/lib/tmpfiles.d/birdscan.conf
install -Dm 644 data/html/index.html $(DESTDIR)$(PREFIX)/share/birdscan/html/index.html
install -Dm 644 data/css/birdscan.css $(DESTDIR)$(PREFIX)/share/birdscan/css/birdscan.css
install -Dm 644 data/js/birdscan.js $(DESTDIR)$(PREFIX)/share/birdscan/js/birdscan.js
diff --git a/systemd/birdscan.tmpfiles b/systemd/birdscan.tmpfiles
new file mode 100644
index 0000000..451bc59
--- /dev/null
+++ b/systemd/birdscan.tmpfiles
@@ -0,0 +1 @@
+d /var/lib/birdscan 0700 birdscan birdscan -