Skip to content

Commit

Permalink
Switch 7d2d to new system
Browse files Browse the repository at this point in the history
  • Loading branch information
LordRalex committed Oct 24, 2023
1 parent 2606980 commit bedaf1d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 38 deletions.
32 changes: 0 additions & 32 deletions 7days2die/7days2die-docker.json

This file was deleted.

37 changes: 31 additions & 6 deletions 7days2die/7days2die.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,55 @@
},
"install": [
{
"appId": "294420",
"type": "steamgamedl"
"type": "steamgamedl",
"appId": "294420",
"if": "env == \"host\""
},
{
"type": "command",
"commands": [
"steamcmd +force_install_dir /pufferpanel +login anonymous +app_update 294420 +quit"
],
"if": "env == \"docker\""
},
{
"type": "command",
"commands": [
"chmod +x 7DaysToDieServer.x86_64"
]
],
"if": "os != \"windows\""
}
],
"run": {
"command": "./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=serverconfig.xml",
"stopCode": 2,
"command": [
{
"command": "./7DaysToDieServer.exe -quit -batchmode -nographics -dedicated -configfile=serverconfig.xml",
"if": "os == \"windows\""
},
{
"command": "./7DaysToDieServer.x86_64 -quit -batchmode -nographics -dedicated -configfile=serverconfig.xml",
"if": "os != \"windows\""
}
],
"stop": "shutdown",
"environmentVars": {
"LD_LIBRARY_PATH": "./linux64:$LD_LIBRARY_PATH"
},
"stdin": {
"type": "telnet",
"port": "8081"
}
},
"supportedEnvironments": [
{
"type": "host"
},
{
"type": "docker",
"image": "steamcmd/steamcmd"
}
],
"requirements": {
"os": "linux",
"arch": "amd64"
}
}
15 changes: 15 additions & 0 deletions 7days2die/data.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[
{
"name": "7days2die",
"environment": {
"type": "host"
}
},
{
"name": "7days2die-docker",
"environment": {
"type": "docker",
"image": "steamcmd/steamcmd"
}
}
]

0 comments on commit bedaf1d

Please sign in to comment.