systemd: move to session slice
authorHenri Chain <henri.chain@enioka.com>
Wed, 17 Feb 2021 11:35:56 +0000 (12:35 +0100)
committerPulseAudio Marge Bot <pulseaudio-maintainers@lists.freedesktop.org>
Thu, 18 Feb 2021 20:42:25 +0000 (20:42 +0000)
As per https://systemd.io/DESKTOP_ENVIRONMENTS/
(the default is app.slice which is not appropriate for pulseaudio)

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/506>

src/daemon/systemd/user/pulseaudio.service.in

index ae0caf8..bf0f481 100644 (file)
@@ -28,6 +28,7 @@ SystemCallFilter=@system-service
 # Note that notify will only work if --daemonize=no
 Type=notify
 UMask=0077
+Slice=session.slice
 
 [Install]
 Also=pulseaudio.socket