From b7282c1a90c8d1bf87388396113321d09c665809 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Tue, 29 Jun 2021 11:12:26 -0500 Subject: [PATCH] use systemd modprobe service for speakup_soft --- services/systemd/espeakup.service.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/services/systemd/espeakup.service.in b/services/systemd/espeakup.service.in index ec5f4da..da97c2a 100644 --- a/services/systemd/espeakup.service.in +++ b/services/systemd/espeakup.service.in @@ -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