systemd: move to session slice

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>
This commit is contained in:
Henri Chain 2021-02-17 12:35:56 +01:00 committed by PulseAudio Marge Bot
parent 6b2844a61d
commit bca4c22832

View file

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