summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-05-26 19:55:15 -0300
committerEuAndreh <eu@euandre.org>2025-05-26 19:55:19 -0300
commit823010cd2d08c492419000932c37f08dd28f527d (patch)
tree855b3589d59d601c6fffc75a2dc894acbfdea556
parentmeta.capim: Add with :dependencies key (diff)
downloadnicely-823010cd2d08c492419000932c37f08dd28f527d.tar.gz
nicely-823010cd2d08c492419000932c37f08dd28f527d.tar.xz
src/nicely: Increase nice(1) value from 19 to 99
POSIX.1-2008 says: > Historical systems have frequently supported the <positive integer> up > to 20. Since there is no error penalty associated with guessing a > number that is too high, users without access to the system > conformance document (to see what limits are actually in place) could > use the historical 1 to 20 range or attempt to use very large numbers > if the job should be truly low priority.
-rwxr-xr-xsrc/nicely2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nicely b/src/nicely
index cf3c72d..601603e 100755
--- a/src/nicely
+++ b/src/nicely
@@ -2,4 +2,4 @@
set -eu
# FIXME: ionice(1) isn't POSIX, make a version of if that is
-exec ionice -c3 nice -n19 "$@"
+exec ionice -c3 nice -n99 "$@"