aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/respawn-only.sh
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2013-01-11 17:35:59 +0100
committerHarald Welte <laforge@gnumonks.org>2013-01-11 17:36:56 +0100
commit24b2128e2975f14f9941caa156890480005df81e (patch)
tree73a67321263694f336109bb44478a556bf24b7ce /contrib/respawn-only.sh
parent3177f2b42f1565d47ee91c401773ff43114964da (diff)
add PCU respawning to contrib screenrc and respawn scripts
Diffstat (limited to 'contrib/respawn-only.sh')
-rwxr-xr-xcontrib/respawn-only.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/respawn-only.sh b/contrib/respawn-only.sh
new file mode 100755
index 00000000..4f611dd2
--- /dev/null
+++ b/contrib/respawn-only.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+while [ -f $1 ]; do
+ nice -n -20 $*
+done