diff options
author | 2018-08-08 14:50:57 +0200 | |
---|---|---|
committer | 2018-10-13 12:59:29 +0200 | |
commit | 07ee5adb356b9fde500c8a5226f24a314789832b (patch) | |
tree | c87b7bdf19447cb22c58e5c41ede5b83d6af2acb /units | |
parent | logind: optionally watch utmp for login data (diff) | |
download | systemd-07ee5adb356b9fde500c8a5226f24a314789832b.tar.gz systemd-07ee5adb356b9fde500c8a5226f24a314789832b.tar.bz2 systemd-07ee5adb356b9fde500c8a5226f24a314789832b.zip |
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')
-rw-r--r-- | units/user-runtime-dir@.service.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/units/user-runtime-dir@.service.in b/units/user-runtime-dir@.service.in index a8a53f3ea..6baa34039 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 |