aboutsummaryrefslogtreecommitdiffstats
path: root/service/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'service/entrypoint.sh')
-rwxr-xr-xservice/entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/service/entrypoint.sh b/service/entrypoint.sh
index 94dbea1..614b251 100755
--- a/service/entrypoint.sh
+++ b/service/entrypoint.sh
@@ -1,11 +1,11 @@
-#!/bin/sh
+#!/bin/bash
mkdir -p "$RESULTDIR"
chown -R service:service "$RESULTDIR"
while [ 1 ]; do
/cleaner.sh
- sleep 400
+ sleep $((60*13)) # data persistence for atleast 11 rounds
done &
CMD="socat -T180 -s TCP-LISTEN:9000,nodelay,reuseaddr,fork EXEC:/service/build/stldoctor,raw,pty,echo=0,stderr"