launch: Add systemd units for launching pulseaudio user instances

This commit is contained in:
Colin Guthrie 2014-10-17 15:10:14 +02:00
parent 42156d2b5a
commit e542e81004
4 changed files with 42 additions and 1 deletions

View file

@ -0,0 +1,10 @@
[Unit]
Description=Sound Service
[Service]
ExecStart=@PA_BINARY@ --daemonize=no
Restart=on-failure
[Install]
Also=pulseaudio.socket
WantedBy=default.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Sound System
[Socket]
Priority=6
Backlog=5
ListenStream=%t/pulse/native
[Install]
WantedBy=sockets.target