Debian Codegraph @

debian/patches/nice

raw
1 https://github.com/linux-speakup/espeakup/pull/46
2
3 commit 38b2e158c8cd81637c1306f149bd21019182ba20
4 Author: Samuel Thibault <[email protected]>
5 Date: Fri Feb 11 00:30:26 2022 +0100
6
7 Request systemd to prioritize espeakup
8
9 So speech doesn't get choppy on a loaded system.
10
11 As suggested by Nick Gawronski.
12
13 commit 7d236459a2490af584a54e712973d4efb08c9952
14 Author: Samuel Thibault <[email protected]>
15 Date: Fri Feb 11 00:31:05 2022 +0100
16
17 Request systemd to protect espeakup from OOM
18
19 Otherwise it might get killed on memory pressure.
20
21 ---
22 services/systemd/espeakup.service.in | 2 ++
23 1 file changed, 2 insertions(+)
24
25 --- a/services/systemd/espeakup.service.in
26 +++ b/services/systemd/espeakup.service.in
27 @@ -13,6 +13,8 @@ ExecStartPre=+modprobe speakup_soft
28 ExecStart=@bindir@/espeakup --default-voice=${default_voice}
29 ExecReload=kill -HUP $MAINPID
30 Restart=always
31 +Nice=-10
32 +OOMScoreAdjust=-900
33
34 [Install]
35 WantedBy=sound.target