diff options
author | Holger Levsen <holger@layer-acht.org> | 2017-04-27 12:43:53 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2017-04-27 12:43:53 +0200 |
commit | cb7ab196f7e7a7af68c2e2eb90078a10ed2a8a5e (patch) | |
tree | ff6b97733983d635e423420075a93811def6b52b | |
parent | f0ffe1e2a6df2fb87f9b22f8599f05fac37a1472 (diff) | |
download | jenkins.debian.net-cb7ab196f7e7a7af68c2e2eb90078a10ed2a8a5e.tar.xz |
reproducible Debian: run in an endless loop (and allow killing it to loop sooner)
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-x | bin/reproducible_build_service.sh | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/bin/reproducible_build_service.sh b/bin/reproducible_build_service.sh index d9df379e..390db7e3 100755 --- a/bin/reproducible_build_service.sh +++ b/bin/reproducible_build_service.sh @@ -241,11 +241,20 @@ startup_workers() { } # -# main +# main, keep running forever… # -startup_workers -# keep running forever… -while true ; do sleep 1337m ; done +while true ; do + # + # this is all we do + # + startup_workers + # + # now sleep, but allow wakeup calls + # + set +e + sleep 1337m + set -e +done # FIXME: TODO left for _service.sh: # * link to console.log in rbuild.log is broken |