mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-04-26 19:30:41 +02:00
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 (23dce98e89)
systemd puts user services into the app slice by default so dbus needs to manually state
that it belongs in the session slice.
This commit is contained in:
parent
9c98a9efe7
commit
03b4fba4b0
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue