espeakup/autostart/systemd/espeakup.service
Alexander Epaneshnikov b5c1aef849 add systemd unit
2021-06-14 22:14:47 +03:00

16 lines
468 B
Desktop File

[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
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