mirror of
https://github.com/systemd/systemd
synced 2024-10-06 16:21:34 +00:00
logind: make sure the service gets access to the linger directory
Fixes: #12401
This commit is contained in:
parent
2a66c2a1ed
commit
19483c60bb
|
@ -43,6 +43,7 @@ RestrictRealtime=yes
|
||||||
RestrictSUIDSGID=yes
|
RestrictSUIDSGID=yes
|
||||||
RuntimeDirectory=systemd/sessions systemd/seats systemd/users systemd/inhibit systemd/shutdown
|
RuntimeDirectory=systemd/sessions systemd/seats systemd/users systemd/inhibit systemd/shutdown
|
||||||
RuntimeDirectoryPreserve=yes
|
RuntimeDirectoryPreserve=yes
|
||||||
|
StateDirectory=systemd/linger
|
||||||
SystemCallArchitectures=native
|
SystemCallArchitectures=native
|
||||||
SystemCallErrorNumber=EPERM
|
SystemCallErrorNumber=EPERM
|
||||||
SystemCallFilter=@system-service
|
SystemCallFilter=@system-service
|
||||||
|
|
Loading…
Reference in a new issue