From f77251f132f2c61bc2f6fb6472e31a95badfa210 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 15 Jun 2021 16:05:42 +0200 Subject: Implement Cache Directory --- Makefile | 1 + systemd/birdscan.tmpfiles | 1 + 2 files changed, 2 insertions(+) create mode 100644 systemd/birdscan.tmpfiles 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 - -- cgit v1.2.3-70-g09d2