diff options
Diffstat (limited to 'espeakup@.service')
-rw-r--r-- | espeakup@.service | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/espeakup@.service b/espeakup@.service new file mode 100644 index 000000000000..8048430e3de1 --- /dev/null +++ b/espeakup@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Software speech output for Speakup for %i +# 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=/home/%i/.speakup/espeakup +PIDFile=/run/espeakup.pid +ExecStart=/usr/bin/espeakup --default-voice=${default_voice} +ExecReload=/bin/kill -HUP $MAINPID +Restart=always + +[Install] +WantedBy=sound.target |