Use the serverDZ.cfg in the files directory, as this is mounted within the server container, whereas the root is not.

This commit is contained in:
Daniel Ceregatti 2025-07-28 11:27:48 -06:00
parent a074c14386
commit efb9276a8e
2 changed files with 4 additions and 4 deletions

2
.gitignore vendored
View file

@ -2,4 +2,4 @@
*.iml *.iml
.env* .env*
node_modules/ node_modules/
serverDZ.cfg files/serverDZ.cfg

View file

@ -71,12 +71,12 @@ This will download about 3 Gigabytes of files.
## Run ## Run
Copy `files/serverDZ.cfg.example` to the root of the clone directory, which your shell should already be located, with the name `serverDZ.cfg`: Copy `files/serverDZ.cfg.example` to `serverDZ.cfg` in the `files` directory:
```shell ```shell
cp files/serverDZ.cfg.example ./serverDZ.cfg cp files/serverDZ.cfg.example file/serverDZ.cfg
``` ```
This file will be used by the server within the container. Set the values of any variables there. See the [documentation](https://forums.dayz.com/topic/239635-dayz-server-files-documentation/) if you want, but most of the default values are fine. The Chernarus map is set by default in this file. At the very least, change the server name: This file will be used by the server within the container. Set the values of any variables there. See the [documentation](https://forums.dayz.com/topic/239635-dayz-server-files-documentation/) if you want, but most of the default values are fine. The Chernarus map is set by default in this file. Edit the file, and at the very least change the server name:
``` ```
hostname = "Something other than Server Name"; // Server name hostname = "Something other than Server Name"; // Server name