Remove xvfb dependency, use -nographics and log to stdout
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"ghcr.io/pelican-eggs/steamcmd:debian": "ghcr.io/pelican-eggs/steamcmd:debian"
|
||||
},
|
||||
"file_denylist": [],
|
||||
"startup": "rm -f ./CoreKeeperServerLog.txt; touch ./CoreKeeperServerLog.txt; xvfb-run -s \"-screen 0 {{DISPLAY_WIDTH}}x{{DISPLAY_HEIGHT}}x{{DISPLAY_DEPTH}} -ac -nolisten tcp -nolisten unix\" ./CoreKeeperServer -batchmode -logfile CoreKeeperServerLog.txt -world {{WORLD_INDEX}} -worldname \"{{WORLD_NAME}}\" -worldseed {{WORLD_SEED}} -maxplayers {{MAX_PLAYERS}} -worldmode {{WORLD_MODE}} -port {{SERVER_PORT}} $([[ \"{{GAME_ID}}\" != \"\" ]] && echo -n \" -gameid {{GAME_ID}}\") $([[ \"{{SERVER_PASSWORD}}\" != \"\" ]] && echo -n \" -password {{SERVER_PASSWORD}}\") & CKPID=$!; tail -f CoreKeeperServerLog.txt & LOGPID=$!; trap \"kill ${CKPID}; wait ${CKPID}; kill ${LOGPID}; wait ${LOGPID}\" 15; wait $!",
|
||||
"startup": "./CoreKeeperServer -batchmode -nographics -logfile /dev/stdout -world {{WORLD_INDEX}} -worldname \"{{WORLD_NAME}}\" -worldseed {{WORLD_SEED}} -maxplayers {{MAX_PLAYERS}} -worldmode {{WORLD_MODE}} -port {{SERVER_PORT}} $([[ \"{{GAME_ID}}\" != \"\" ]] && echo -n \" -gameid {{GAME_ID}}\") $([[ \"{{SERVER_PASSWORD}}\" != \"\" ]] && echo -n \" -password {{SERVER_PASSWORD}}\")",
|
||||
"config": {
|
||||
"files": "{}",
|
||||
"startup": "{\"done\": \"Started session\"}",
|
||||
|
||||
Reference in New Issue
Block a user