summaryrefslogtreecommitdiffstats
path: root/src/triggers/renice
diff options
context:
space:
mode:
Diffstat (limited to 'src/triggers/renice')
-rwxr-xr-xsrc/triggers/renice5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/triggers/renice b/src/triggers/renice
new file mode 100755
index 0000000..ba0b726
--- /dev/null
+++ b/src/triggers/renice
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+n=$1
+[ "$n" = "PRE_GIT" ] && n=10
+renice -n $n $GL_TID >/dev/null