diff options
author | Simon McVittie <smcv@collabora.com> | 2020-12-04 11:11:04 +0000 |
---|---|---|
committer | Daniel Playfair Cal <daniel.playfair.cal@gmail.com> | 2021-02-08 10:01:18 +1100 |
commit | 2781a8684855e4120c9948d8b40880bafafe1b12 (patch) | |
tree | d77a7709cfddb6cd6b3027e3f8620c1923247b6c /meson_options.txt | |
parent | 9f31030aaddb301ff94c6a0e4532e2f14e3b9798 (diff) | |
download | dconf-2781a8684855e4120c9948d8b40880bafafe1b12.tar.gz |
service: Add a systemd unit for D-Bus activation
On systems using systemd --user and
dbus-daemon --session --systemd-activation, this means that dconf
is correctly placed in its own cgroup, instead of being part of
dbus.service's cgroup. This allows it to be controlled by
systemctl --user, have resource limits set and so on.
On other systems (in particular those where systemd is not used at all),
the SystemdService field is ignored and dbus-daemon will continue to
start dconf-service as its own child process ("traditional activation"),
making this change harmless to apply.
Resolves: https://gitlab.gnome.org/GNOME/dconf/-/issues/24
Signed-off-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index a2794ce..1b85d5d 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -2,3 +2,4 @@ option('bash_completion', type: 'boolean', value: true, description: 'install ba option('man', type: 'boolean', value: true, description: 'generate man pages') option('gtk_doc', type: 'boolean', value: false, description: 'use gtk-doc to build documentation') option('vapi', type: 'boolean', value: true, description: 'install dconf client vapi') +option('systemduserunitdir', type: 'string', value: '', description: 'override systemd user unit directory') |