use systemd modprobe service for speakup_soft

This commit is contained in:
William Hubbs 2021-06-29 11:12:26 -05:00 committed by Alexander Epaneshnikov
commit b7282c1a90

View file

@ -1,14 +1,13 @@
[Unit]
Description=Software speech output for Speakup
Documentation=man:espeakup(8)
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service sound.target
Wants=modprobe@speakup_soft.service
After=modprobe@speakup_soft.service sound.target
[Service]
Type=forking
PIDFile=/run/espeakup.pid
Environment="default_voice="
ExecStartPre=+modprobe speakup_soft
ExecStart=@bindir@/espeakup --default-voice=${default_voice}
ExecReload=kill -HUP $MAINPID
Restart=always