We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ec3644 commit 0d93e5aCopy full SHA for 0d93e5a
entrypoint.sh
@@ -1,4 +1,10 @@
1
#!/bin/bash
2
+export SERVER_HOSTNAME="${hostname}"
3
+export AUTHKEY="${AUTHKEY}"
4
+export PORT="${port:-27015}"
5
+export SERVER_PASSWORD="${password:-}"
6
+export RCON_PASSWORD="${rcon_password:-changeme}"
7
+
8
set -e
9
cd csgo
-./srcds_run -game csgo +hostname "$hostname" +sv_password "$password" +rcon_password "$rcon_password" +map de_dust2 -maxplayers "$maxplayer" -port "$port"
10
+./srcds_run -game csgo +hostname "$SERVER_HOSTNAME" +sv_password "$SERVER_PASSWORD" +rcon_password "$RCON_PASSWORD" +map de_dust2 -maxplayers "$maxplayer" -port "$PORT" -authkey "$AUTHKEY"
0 commit comments