diff options
author | Henri Chain <henri.chain@enioka.com> | 2021-09-22 17:43:55 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2021-10-01 14:13:35 +0000 |
commit | 8c47e9f15b0245accd7a0a885a6e63fb79eeb09f (patch) | |
tree | e177b81d706b98ea9d7fb35c945cb9cac2508376 /monitor/udisks2/gvfs-udisks2-volume-monitor.service.in | |
parent | b386e6669a0e809045f00983ff9414f338bde7de (diff) | |
download | gvfs-8c47e9f15b0245accd7a0a885a6e63fb79eeb09f.tar.gz |
Move systemd services to session slice
This puts all gvfs systemd services (which are all dbus-activated through
`SystemdService=`) inside of the `session` slice that was introduced in
v249 (https://github.com/systemd/systemd/pull/16603) and described in
https://systemd.io/DESKTOP_ENVIRONMENTS/ and `systemd.special(7)`
This allows sysadmins or OS integrators to assign higher-priority
`systemd.resource-control(5)` on `session.slice` and have it propagate
down to important session services such as gvfs, so that the gvfs daemons
receive sufficient priority for resource allocations to keep the session
running smoothly under load.
Note that it still works on older systemd
(the slice, which is just a cgroup inner directory, is created on demand)
Diffstat (limited to 'monitor/udisks2/gvfs-udisks2-volume-monitor.service.in')
-rw-r--r-- | monitor/udisks2/gvfs-udisks2-volume-monitor.service.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/udisks2/gvfs-udisks2-volume-monitor.service.in b/monitor/udisks2/gvfs-udisks2-volume-monitor.service.in index 65a639c5..1fa1040e 100644 --- a/monitor/udisks2/gvfs-udisks2-volume-monitor.service.in +++ b/monitor/udisks2/gvfs-udisks2-volume-monitor.service.in @@ -5,3 +5,4 @@ Description=Virtual filesystem service - disk device monitor ExecStart=@libexecdir@/gvfs-udisks2-volume-monitor Type=dbus BusName=org.gtk.vfs.UDisks2VolumeMonitor +Slice=session.slice |