From 5455560ea0d3b5eb630670c8ececf6e6571013ca Mon Sep 17 00:00:00 2001 From: Philipp Hufnagl Date: Sun, 15 Apr 2018 21:59:10 +0200 Subject: [PATCH] viewing process in screen --- Dockerfile | 2 +- entrypoint.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3cd8bca..fbf2f5d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM docker.zom.bi/dockerfiles/steam:latest RUN dpkg --add-architecture i386 RUN apt-get update -RUN apt-get install -y libcurl4-gnutls-dev:i386 +RUN apt-get install -y libcurl4-gnutls-dev:i386 screen EXPOSE 11000 11000/udp 27018 27018/udp 8768 EXPOSE 8768/udp COPY conf/ /home/steam/.klei/DoNotStarveTogether/Zom.bi diff --git a/entrypoint.sh b/entrypoint.sh index 15c0c00..424271b 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -30,7 +30,7 @@ fi # run the next commands from the installdir cd $installdir/bin -run_shared=(./dontstarve_dedicated_server_nullrenderer) +run_shared=(screen -S DST ./dontstarve_dedicated_server_nullrenderer) run_shared+=(-console) run_shared+=(-cluster "$cluster_name") run_shared+=(-monitor_parent_process $$)