summaryrefslogtreecommitdiff
path: root/custom
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-12-23 16:54:35 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-12-23 16:54:35 +0100
commit3bb5f7d88a6b5259e8b16a06ac5ee17693779cba (patch)
tree258edf740755bbcac00667e59f795f84827676b1 /custom
parentfb3ac99b7740d2e98116ad5acde0b09427791d03 (diff)
downloadnixos-3bb5f7d88a6b5259e8b16a06ac5ee17693779cba.tar
nixos-3bb5f7d88a6b5259e8b16a06ac5ee17693779cba.tar.gz
nixos-3bb5f7d88a6b5259e8b16a06ac5ee17693779cba.tar.bz2
nixos-3bb5f7d88a6b5259e8b16a06ac5ee17693779cba.tar.xz
nixos-3bb5f7d88a6b5259e8b16a06ac5ee17693779cba.zip
...
Diffstat (limited to 'custom')
-rw-r--r--custom/uucp.nix5
1 files changed, 1 insertions, 4 deletions
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 {
309 source = pkgs.writeScript "${p}-nice" '' 309 source = pkgs.writeScript "${p}-nice" ''
310 #!${pkgs.stdenv.shell} 310 #!${pkgs.stdenv.shell}
311 311
312 ${pkgs.utillinux}/bin/renice -n 15 -p $$ 312 ${pkgs.utillinux}/bin/nice -n 15 ${pkgs.utillinux}/bin/ionice -c 3 ${pkgs.uucp}/bin/${p} $@
313 ${pkgs.utillinux}/bin/ionice -c 3 -p $$
314
315 exec ${pkgs.uucp}/bin/${p} $@
316 ''; 313 '';
317 owner = "root"; 314 owner = "root";
318 group = "root"; 315 group = "root";