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]
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue