mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-09 09:19:09 +02:00
use systemd modprobe service for speakup_soft
This commit is contained in:
parent
f077d0c042
commit
b7282c1a90
1 changed files with 2 additions and 3 deletions
|
|
@ -1,14 +1,13 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Software speech output for Speakup
|
Description=Software speech output for Speakup
|
||||||
Documentation=man:espeakup(8)
|
Documentation=man:espeakup(8)
|
||||||
Wants=systemd-udev-settle.service
|
Wants=modprobe@speakup_soft.service
|
||||||
After=systemd-udev-settle.service sound.target
|
After=modprobe@speakup_soft.service sound.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
PIDFile=/run/espeakup.pid
|
PIDFile=/run/espeakup.pid
|
||||||
Environment="default_voice="
|
Environment="default_voice="
|
||||||
ExecStartPre=+modprobe speakup_soft
|
|
||||||
ExecStart=@bindir@/espeakup --default-voice=${default_voice}
|
ExecStart=@bindir@/espeakup --default-voice=${default_voice}
|
||||||
ExecReload=kill -HUP $MAINPID
|
ExecReload=kill -HUP $MAINPID
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue