]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - units/systemd-logind.service.in
logind: make sure the service gets access to the linger directory
[thirdparty/systemd.git] / units / systemd-logind.service.in
index 3eef95c6614f03fdbe25b16344251ef5d3ac4837..8a7262776f9236ad697278099593c1dbe2ac9903 100644 (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