aboutsummaryrefslogtreecommitdiff
path: root/spawner.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2019-05-09 13:45:27 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2019-05-09 13:45:27 -0400
commit6b6940e59abba27c110ab33a68e5e11c5bd5962c (patch)
tree4f12eb3655207a291a938630bc62f46151fccb60 /spawner.sh
downloaddocker-buildsys-py-6b6940e59abba27c110ab33a68e5e11c5bd5962c.tar.gz
Initial commit
Diffstat (limited to 'spawner.sh')
-rwxr-xr-xspawner.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/spawner.sh b/spawner.sh
new file mode 100755
index 0000000..94bee44
--- /dev/null
+++ b/spawner.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+limit="${TIMEOUT:-45m}"
+exec timeout -sTERM ${limit} "$@"