From 45235c306fb09d2407d9a51afd157ea016e8891e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 23 Dec 2019 17:22:53 +0100 Subject: ... --- custom/uucp.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'custom') diff --git a/custom/uucp.nix b/custom/uucp.nix index e05a35d3..db08f3fc 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -300,7 +300,7 @@ in { source = pkgs.writeScript "${p}-nice" '' #!${pkgs.stdenv.shell} - exec ${pkgs.coreutils}/bin/nice -n 15 ${pkgs.utillinux}/bin/ionice -c 3 ${pkgs.uucp}/bin/${p} $@ + exec ${pkgs.systemd}/bin/systemd-run --service-type=exec --no-ask-password --same-dir --pty --pipe --wait --property=IOPriority=Idle --property=Nice=10 ${pkgs.uucp}/bin/${p} $@ ''; owner = "root"; group = "root"; -- cgit v1.2.3