summaryrefslogtreecommitdiff
path: root/community/espeakup/espeakup.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/espeakup/espeakup.service')
-rw-r--r--community/espeakup/espeakup.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/espeakup/espeakup.service b/community/espeakup/espeakup.service
new file mode 100644
index 000000000..88559d0fe
--- /dev/null
+++ b/community/espeakup/espeakup.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Software speech output for Speakup
+# espeakup needs to start after the audio devices appear, hopefully this should go away in the future
+Wants=systemd-udev-settle.service
+After=systemd-udev-settle.service sound.target
+
+[Service]
+Type=forking
+PIDFile=/run/espeakup.pid
+ExecStart=/usr/bin/espeakup
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=sound.target