logind: make sure the service gets access to the linger directory

Fixes: #12401
This commit is contained in:
Lennart Poettering 2019-04-28 11:17:59 +02:00
parent 2a66c2a1ed
commit 19483c60bb
1 changed files with 1 additions and 0 deletions

View File

@ -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