[pulseaudio-discuss] Service File for running in system mode
fsateler at debian.org
Tue Oct 4 20:02:50 UTC 2016
On 4 October 2016 at 14:42, Florian Lindner <mailinglists at xgm.de> wrote:
> ok, my working configuration on Arch with pulseaudio 9.0.
> The unit file:
> # /etc/systemd/system/pulseaudio.service
> Description=PulseAudio system server
This is redundant, as services by default have an implicit
After=sockets.target (via basic.target).
This is also questionable, as strictly speaking the dbus socket is not
needed by pulseaudio. If the system has dbus disabled, pulseaudio
should not pull it in.
> ExecStart=/usr/bin/pulseaudio --daemonize=no --system --realtime
> --disallow-module-loading --disallow-exit --log-target=journal
I think it may be a good idea to also enable the socket activation
(like the user units do).
More information about the pulseaudio-discuss