espeakup/services/systemd/espeakup@.service.in
Rafael Fontenelle 3165945186
Add template unit file
This allows the user to start espeakup service from the command-line
interface setting a specific voice/language without needing to edit
the unit file, which could be complicated for blind or visually
impaired users that do not understand English enough to hear English
espeakup before setting it to the desired language.

Example usage:
  systemd start espeakup@pt
2022-02-20 04:06:09 +03:00

18 lines
400 B
SYSTEMD

[Unit]
Description=Software speech output for Speakup
Documentation=man:espeakup(8)
Wants=modprobe@speakup_soft.service
After=modprobe@speakup_soft.service sound.target
Conflicts=espeakup.service
[Service]
Type=forking
PIDFile=/run/espeakup.pid
ExecStart=@bindir@/espeakup --default-voice=%I
ExecReload=kill -HUP $MAINPID
Restart=always
Nice=-10
OOMScoreAdjust=-900
[Install]
WantedBy=sound.target