Request systemd to protect espeakup from OOM

Otherwise it might get killed on memory pressure.
This commit is contained in:
Samuel Thibault 2022-02-11 00:31:05 +01:00 committed by William Hubbs
commit c99bfb8e45

View file

@ -12,6 +12,7 @@ ExecStart=@bindir@/espeakup --default-voice=${default_voice}
ExecReload=kill -HUP $MAINPID ExecReload=kill -HUP $MAINPID
Restart=always Restart=always
Nice=-10 Nice=-10
OOMScoreAdjust=-900
[Install] [Install]
WantedBy=sound.target WantedBy=sound.target