aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-20 03:30:58 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-20 03:30:58 +0100
commit96ad7ebbb201e198385f8a2ef8808373a6f85b1f (patch)
treeba99c41120b12cd85f1c88ea397d79a1f528838c
parentc3040d54dc0b5398c43478c577f32428655d8af1 (diff)
downloaduenv-96ad7ebbb201e198385f8a2ef8808373a6f85b1f.tar.gz
uenv-96ad7ebbb201e198385f8a2ef8808373a6f85b1f.tar.bz2
uenv-96ad7ebbb201e198385f8a2ef8808373a6f85b1f.tar.xz
uenv-96ad7ebbb201e198385f8a2ef8808373a6f85b1f.zip
pulse.service: Add minimal pulseaudio systemd --user service, not relying on a socket.
-rw-r--r--user/pulse.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/pulse.service b/user/pulse.service
new file mode 100644
index 0000000..cece744
--- /dev/null
+++ b/user/pulse.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=PulseAudio Sound System
+After=sound.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/pulseaudio --start
+ExecStop=/usr/bin/pulseaudio -k
+Restart=on-failure
+
+[Install]
+WantedBy=default.target