From b4fae2ddb474fb169d9352a542ecf64550a7b80f Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 3 Aug 2016 12:22:40 +0200 Subject: more resources for trivmix --- custom/trivmix-service.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index 976397b2..3c3cded7 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -42,7 +42,9 @@ in rec { ExecStart = ''${trivmix}/bin/trivmix --client ${name} --run ${genRun} /dev/shm/mix/${name}/level${if ! isNull group then " /dev/shm/mix/${group}/level" else ""}''; User = "jack"; Group = "audio"; - Nice = -10; + Nice = "-10"; + LimitRTPRIO = "95:95"; + LimitMEMLOCK = "infinity"; }; }; } -- cgit v1.2.3