diff options
author | David Redondo <kde@david-redondo.de> | 2021-11-17 12:24:19 +0000 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-11-18 11:35:49 +0000 |
commit | 03b4fba4b0d6e7294a5390d6de9de6cf5e50ec25 (patch) | |
tree | cba3367e94d118abb6f197e82c8ebc135c3700ba | |
parent | 9c98a9efe70fa9b0b4fb12d99ddeba308ce17ac5 (diff) | |
download | dbus-03b4fba4b0d6e7294a5390d6de9de6cf5e50ec25.tar.gz |
Put dbus-daemon into session slice
The session slice and the app and background slices are special slices defined by
https://systemd.io/DESKTOP_ENVIRONMENTS/, where:
session.slice: Contains only processes essential to run the user’s graphical session
app.slice: Contains all normal applications that the user is running
This allows users or sysadmins to control resource allocation depending on the type
of the service.
Since v249 (https://github.com/systemd/systemd/commit/23dce98e89616092007005692a4574ab908db5a6)
systemd puts user services into the app slice by default so dbus needs to manually state
that it belongs in the session slice.
-rw-r--r-- | bus/systemd-user/dbus.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bus/systemd-user/dbus.service.in b/bus/systemd-user/dbus.service.in index b291b923..cafcc5c1 100644 --- a/bus/systemd-user/dbus.service.in +++ b/bus/systemd-user/dbus.service.in @@ -8,3 +8,4 @@ Type=notify NotifyAccess=main ExecStart=@EXPANDED_BINDIR@/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only ExecReload=@EXPANDED_BINDIR@/dbus-send --print-reply --session --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig +Slice=session.slice |