]> git.ipfire.org Git - thirdparty/systemd.git/commit - meson.build
logind: change user-runtime-dir to query runtime dir size from logind via the bus
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Aug 2018 12:50:57 +0000 (14:50 +0200)
committerLennart Poettering <lennart@poettering.net>
Sat, 13 Oct 2018 10:59:29 +0000 (12:59 +0200)
commit07ee5adb356b9fde500c8a5226f24a314789832b
treec87b7bdf19447cb22c58e5c41ede5b83d6af2acb
parent3d0ef5c7e00155bc74f6f71c34cad518a4ff56ba
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.
meson.build
src/login/meson.build
src/login/user-runtime-dir.c
units/user-runtime-dir@.service.in