viewing process in screen

This commit is contained in:
Philipp Hufnagl 2018-04-15 21:59:10 +02:00
parent 4d4a13bd13
commit 5455560ea0
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
FROM docker.zom.bi/dockerfiles/steam:latest FROM docker.zom.bi/dockerfiles/steam:latest
RUN dpkg --add-architecture i386 RUN dpkg --add-architecture i386
RUN apt-get update 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 11000 11000/udp 27018 27018/udp 8768
EXPOSE 8768/udp EXPOSE 8768/udp
COPY conf/ /home/steam/.klei/DoNotStarveTogether/Zom.bi COPY conf/ /home/steam/.klei/DoNotStarveTogether/Zom.bi

View file

@ -30,7 +30,7 @@ fi
# run the next commands from the installdir # run the next commands from the installdir
cd $installdir/bin cd $installdir/bin
run_shared=(./dontstarve_dedicated_server_nullrenderer) run_shared=(screen -S DST ./dontstarve_dedicated_server_nullrenderer)
run_shared+=(-console) run_shared+=(-console)
run_shared+=(-cluster "$cluster_name") run_shared+=(-cluster "$cluster_name")
run_shared+=(-monitor_parent_process $$) run_shared+=(-monitor_parent_process $$)