aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-06-09 00:37:56 +0200
committerLouis Burda <quent.burda@gmail.com>2021-06-09 00:37:56 +0200
commitc8b88de6fc73f0b67a200423fbc58e3bed8fc5e6 (patch)
tree003137152d6cc465f225161a37d5dadabc5fc8ae
parent78bf5d564e712cd604eb8f8ac612be5a7b4e186c (diff)
downloadenowars5-service-stldoctor-c8b88de6fc73f0b67a200423fbc58e3bed8fc5e6.tar.gz
enowars5-service-stldoctor-c8b88de6fc73f0b67a200423fbc58e3bed8fc5e6.zip
increased service timeout to 3 min
-rwxr-xr-xservice/entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/service/entrypoint.sh b/service/entrypoint.sh
index b7b6509..fc08e63 100755
--- a/service/entrypoint.sh
+++ b/service/entrypoint.sh
@@ -8,6 +8,6 @@ while [ 1 ]; do
sleep 200
done &
-servicecmd='socat -T30 -s TCP-LISTEN:9000,reuseaddr,fork EXEC:"/service/build/stldoctor",raw,pty,echo=0,stderr'
+servicecmd='socat -T180 -s TCP-LISTEN:9000,reuseaddr,fork EXEC:"/service/build/stldoctor",raw,pty,echo=0,stderr'
su -s /bin/sh -c "$servicecmd" service