
pokerth/log-files/server_messages.log 2020-Apr-21 08:41:29 MSG: Starting PokerTH dedicated server. I found some further details after some more digging:Ĭat. If you can point me in the direction of a log file inside the container, I can take a look, but my casual browsing in it didn't throw up any logs that I could see. I can see that the process doesn't start right away, is that an issue or should this be working for me? It says it's running but I can't access it via port 7234. info : 'pokerth_server' process is running with pid 11 'pokerth_server' process is running with pid 11

info : 'pokerth_server' start: '/etc/init.d/pokerth_server start' 'pokerth_server' start: '/etc/init.d/pokerth_server start' info : 'pokerth_server' trying to restart error : 'pokerth_server' process is not running I received the following output in the logs: New Monit id: 4f217f8812071483d7405fd0678dc843 I followed these instructions and I ran the command above to start it:ĭocker run -d -p 7234:7234 -name=pokerth -restart=always pokerth Kill `cat /var/run/pokerth_server.pid` Įcho "Usage: pokerth_server " Pgrep -n pokerth_server > /var/run/pokerth_server.pid Sudo -H -u pokerth /home/pokerth/pokerth/pokerth_server If 5 restarts within 5 cycles then timeout Stop program = "/etc/init.d/pokerth_server stop"

Start program = "/etc/init.d/pokerth_server start" Set eventqueue basedir /var/lib/monit/events slots 5000Ĭheck process pokerth_server with pidfile /var/run/pokerth_server.pid pokerth/ĬOPY pokerth_server /etc/init.d/pokerth_server RUN useradd -ms /usr/sbin/nologin -u 4000 -g 4000 pokerth
#POKERTH SMALL INSTALL#
RUN apt-get -y install monit pokerth-server sudo
#POKERTH SMALL CODE#
Here's a Dockerfile that works for me (you'll also need monitc and pokerth_server files, code below): FROM ubuntu:eoan
