summarylogtreecommitdiffstats
path: root/espeakup.service
diff options
context:
space:
mode:
Diffstat (limited to 'espeakup.service')
-rw-r--r--espeakup.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/espeakup.service b/espeakup.service
new file mode 100644
index 000000000000..c7d6a7bcd5dc
--- /dev/null
+++ b/espeakup.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Software speech output system wide settings
+# 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
+EnvironmentFile=/etc/conf.d/espeakup
+PIDFile=/run/espeakup.pid
+ExecStart=/usr/bin/espeakup --default-voice=${default_voice}
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=always
+
+[Install]
+WantedBy=sound.target