summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <mail2xengineering@protonmail.com>2021-06-15 16:05:42 +0200
committerxengineering <mail2xengineering@protonmail.com>2021-06-15 16:31:39 +0200
commitf77251f132f2c61bc2f6fb6472e31a95badfa210 (patch)
tree4a52d896ac0a0566b7e79db08d79f2704667c25a
parent4a01c8e94921d9ddcaf6d6dee0feca4d9c3655a2 (diff)
downloadbirdscan-f77251f132f2c61bc2f6fb6472e31a95badfa210.tar
birdscan-f77251f132f2c61bc2f6fb6472e31a95badfa210.tar.zst
birdscan-f77251f132f2c61bc2f6fb6472e31a95badfa210.zip
Implement Cache Directory
-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 -