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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux