Explorar el Código

Fixing missing logs

Penta hace 1 semana
padre
commit
c838683e14
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -76,4 +76,4 @@ ENV PORT="27015"
 ENV ARGS=""
 
 # START THE SERVER
-CMD ["/bin/bash","-lc","exec /app/server/srcds_linux -console -nobreakpad -usercon -debug -dev -game garrysmod -strictportbind -port ${PORT} -maxplayers ${MAXPLAYERS} +gamemode ${GAMEMODE} +map ${MAP} ${ARGS}"]
+CMD ["/bin/bash","-lc","touch /app/server/garrysmod/console.log && tail -F /app/server/garrysmod/console.log & exec /app/server/srcds_linux -game garrysmod -console -strictportbind -port ${PORT} -maxplayers ${MAXPLAYERS} +gamemode ${GAMEMODE} +map ${MAP} ${ARGS}"]