summaryrefslogtreecommitdiffstats
path: root/units
diff options
context:
space:
mode:
authorAdrian Vovk <adrianvovk@gmail.com>2024-01-09 00:37:52 +0100
committerLuca Boccassi <bluca@debian.org>2024-02-19 12:18:11 +0100
commitc3d50255fc90859a80b8e2f5e009ecc17b83ef0d (patch)
tree36b8e9b39aa9e09e3fe43f99ef1a1f7db7781fa0 /units
parentuser-record: Add blobDirectory and blobManifest (diff)
downloadsystemd-c3d50255fc90859a80b8e2f5e009ecc17b83ef0d.tar.xz
systemd-c3d50255fc90859a80b8e2f5e009ecc17b83ef0d.zip
homed: Create & advertise blob directory
This ensures that a user-specific blob directory exists in /var/cache/systemd/homed for as long as the user exists, and gets deleted if the user gets deleted. It also advertises this blob directory via the user record, so that clients can find and use it.
Diffstat (limited to 'units')
-rw-r--r--units/systemd-homed.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-homed.service.in b/units/systemd-homed.service.in
index ee72c75ac9..ff4f429498 100644
--- a/units/systemd-homed.service.in
+++ b/units/systemd-homed.service.in
@@ -30,6 +30,7 @@ RestrictAddressFamilies=AF_UNIX AF_NETLINK AF_ALG AF_INET AF_INET6
RestrictNamespaces=mnt user
RestrictRealtime=yes
StateDirectory=systemd/home
+CacheDirectory=systemd/home
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service @mount quotactl