summaryrefslogtreecommitdiffstats
path: root/files/etc/tmpfiles.d/geodata.conf
diff options
context:
space:
mode:
Diffstat (limited to 'files/etc/tmpfiles.d/geodata.conf')
-rw-r--r--files/etc/tmpfiles.d/geodata.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/files/etc/tmpfiles.d/geodata.conf b/files/etc/tmpfiles.d/geodata.conf
new file mode 100644
index 0000000..a299e0f
--- /dev/null
+++ b/files/etc/tmpfiles.d/geodata.conf
@@ -0,0 +1,8 @@
+d %t/lock/geodata 00755 root root
+
+# for `geodata-download --lockdir` *and* `geodata-import --lockdir-sources`
+# (hence the set-group-ID bit and g+w)
+d %t/lock/geodata/cache 02775 _geodata-download _geodata
+
+# for `geodata-import --lockfile`
+f %t/lock/geodata/lock 00644 _geodata _geodata