[pulseaudio-discuss] [PATCH 6/8] launch: Add systemd units for launching pulseaudio user instances

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Mon Nov 3 03:07:17 PST 2014


On Mon, 2014-11-03 at 09:42 +0000, Colin Guthrie wrote:
> diff --git a/src/daemon/systemd/user/pulseaudio.service.in b/src/daemon/systemd/user/pulseaudio.service.in
> new file mode 100644
> index 0000000..e08ff1e
> --- /dev/null
> +++ b/src/daemon/systemd/user/pulseaudio.service.in
> @@ -0,0 +1,10 @@
> +[Unit]
> +Description=Sound Service
> +
> +[Service]
> +ExecStart=@PA_BINARY@ --daemonize=no
> +Restart=on-failure

In the previous version the restart policy was "always". How does
"on-failure" interact with socket activation? If I shut down PulseAudio
cleanly with "pactl exit", will PulseAudio be started again when the
next client tries to connect to the socket?

-- 
Tanu



More information about the pulseaudio-discuss mailing list