From 062d10ca210953f8ebfc3d6eeb451346c21e920c Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 25 Dec 2015 17:27:25 +0100 Subject: Other method for setting nice --- custom/trivmix-service.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/trivmix-service.nix b/custom/trivmix-service.nix index d5819c4c..1f00ab16 100644 --- a/custom/trivmix-service.nix +++ b/custom/trivmix-service.nix @@ -39,9 +39,10 @@ in rec { after = [ "jack.service" ]; serviceConfig = { Type = "simple"; - ExecStart = ''${coreutils}/bin/nice -n -10 -- ${trivmix}/bin/trivmix --client ${name} --run ${genRun} /dev/shm/mix/${name}/level${if ! isNull group then " /dev/shm/mix/${group}/level" else ""}''; + 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; }; }; } -- cgit v1.2.3