summaryrefslogtreecommitdiff
path: root/units/user-runtime-dir@.service.in
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-08-08 14:50:57 +0200
committerLennart Poettering <lennart@poettering.net>2018-10-13 12:59:29 +0200
commit07ee5adb356b9fde500c8a5226f24a314789832b (patch)
treec87b7bdf19447cb22c58e5c41ede5b83d6af2acb /units/user-runtime-dir@.service.in
parent3d0ef5c7e00155bc74f6f71c34cad518a4ff56ba (diff)
downloadsystemd-07ee5adb356b9fde500c8a5226f24a314789832b.tar.gz
logind: change user-runtime-dir to query runtime dir size from logind via the bus
I think this is a slightly cleaner approach than parsing the configuration file at multiple places, as this way there's only a single reload cycle for logind.conf, and that's systemd-logind.service's runtime. This means that logind and dbus become a requirement of user-runtime-dir, but given that XDG_RUNTIME_DIR is not set anyway without logind and dbus around this isn't really any limitation. This also simplifies linking a bit as this means user-runtime-dir doesn't have to link against any code of logind itself.
Diffstat (limited to 'units/user-runtime-dir@.service.in')
-rw-r--r--units/user-runtime-dir@.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in
index a8a53f3ead..6baa340394 100644
--- a/units/user-runtime-dir@.service.in
+++ b/units/user-runtime-dir@.service.in
@@ -8,9 +8,9 @@
# (at your option) any later version.
[Unit]
-Description=User runtime directory /run/user/%i
+Description=User Runtime Directory /run/user/%i
Documentation=man:user@.service(5)
-After=systemd-user-sessions.service
+After=systemd-user-sessions.service dbus.service
StopWhenUnneeded=yes
IgnoreOnIsolate=yes