espeakup/services/systemd/espeakup.service.in
Alexander Epaneshnikov 0c09fe5449
switch to meson (#30)
switch to a meson-based build system
2021-06-18 21:53:04 -05:00

17 lines
419 B
SYSTEMD

[Unit]
Description=Software speech output for Speakup
Documentation=man:espeakup(8)
Wants=systemd-udev-settle.service
After=systemd-udev-settle.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
[Install]
WantedBy=sound.target