summarylogtreecommitdiffstats
path: root/espeakup@.service
blob: 8048430e3de1a42fd0b3772142f9bcb048dce38d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=Software speech output for Speakup for %i
# espeakup needs to start after the audio devices appear, hopefully this should go away in the future
Wants=systemd-udev-settle.service
After=systemd-udev-settle.service sound.target

[Service]
Type=forking
EnvironmentFile=/home/%i/.speakup/espeakup
PIDFile=/run/espeakup.pid
ExecStart=/usr/bin/espeakup --default-voice=${default_voice}
ExecReload=/bin/kill -HUP $MAINPID
Restart=always

[Install]
WantedBy=sound.target