aboutsummaryrefslogtreecommitdiffstats
path: root/service/entrypoint.sh
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2021-07-08 12:50:33 +0200
committerLouis Burda <quent.burda@gmail.com>2021-07-08 12:50:37 +0200
commit98547be034d9f46c48f01e7d8633aa0b666332b1 (patch)
treeadefb84196c1e4993a40c9d9dc751814b9114f02 /service/entrypoint.sh
parent19d9a38484f1fcd9a05909186531ce401dcc94bb (diff)
downloadenowars5-service-stldoctor-98547be034d9f46c48f01e7d8633aa0b666332b1.tar.gz
enowars5-service-stldoctor-98547be034d9f46c48f01e7d8633aa0b666332b1.zip
make ncat invocation easier to understand and fix listen port
Diffstat (limited to 'service/entrypoint.sh')
-rwxr-xr-xservice/entrypoint.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/service/entrypoint.sh b/service/entrypoint.sh
index d68257e..eef45c1 100755
--- a/service/entrypoint.sh
+++ b/service/entrypoint.sh
@@ -11,5 +11,6 @@ while [ 1 ]; do
sleep 70
done &
-CMD="ncat -k -l -p 9090 -m 200 --no-shutdown -w10s -i180s -e /service/build/stldoctor"
+CMD="ncat --keep-open --listen -p 9000 --max-conns 200 \
+--no-shutdown --wait 10s --idle-timeout 180s --exec /service/build/stldoctor"
su -s /bin/sh -c "$CMD" service