From 3bb5f7d88a6b5259e8b16a06ac5ee17693779cba Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 23 Dec 2019 16:54:35 +0100 Subject: ... --- custom/uucp.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'custom') diff --git a/custom/uucp.nix b/custom/uucp.nix index 5d6ad0b6..4e591970 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -309,10 +309,7 @@ in { source = pkgs.writeScript "${p}-nice" '' #!${pkgs.stdenv.shell} - ${pkgs.utillinux}/bin/renice -n 15 -p $$ - ${pkgs.utillinux}/bin/ionice -c 3 -p $$ - - exec ${pkgs.uucp}/bin/${p} $@ + ${pkgs.utillinux}/bin/nice -n 15 ${pkgs.utillinux}/bin/ionice -c 3 ${pkgs.uucp}/bin/${p} $@ ''; owner = "root"; group = "root"; -- cgit v1.2.3