summaryrefslogtreecommitdiff
path: root/units
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-28 11:17:59 +0200
committerLennart Poettering <lennart@poettering.net>2019-05-24 15:05:27 +0200
commit19483c60bb105fa33831dfdee221c86db7f12a4e (patch)
tree9c567711b01839b085ada32aa7c1b67a93e0629e /units
parent2a66c2a1eda48433cb7f4ac6e9b9abcf4bd41bf3 (diff)
downloadsystemd-19483c60bb105fa33831dfdee221c86db7f12a4e.tar.gz
logind: make sure the service gets access to the linger directory
Fixes: #12401
Diffstat (limited to 'units')
-rw-r--r--units/systemd-logind.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-logind.service.in b/units/systemd-logind.service.in
index 3eef95c661..8a7262776f 100644
--- a/units/systemd-logind.service.in
+++ b/units/systemd-logind.service.in
@@ -43,6 +43,7 @@ RestrictRealtime=yes
RestrictSUIDSGID=yes
RuntimeDirectory=systemd/sessions systemd/seats systemd/users systemd/inhibit systemd/shutdown
RuntimeDirectoryPreserve=yes
+StateDirectory=systemd/linger
SystemCallArchitectures=native
SystemCallErrorNumber=EPERM
SystemCallFilter=@system-service