From efb9276a8ef6f2e502ae0ca7644871f618fd9dd2 Mon Sep 17 00:00:00 2001 From: Daniel Ceregatti Date: Mon, 28 Jul 2025 11:27:48 -0600 Subject: [PATCH] Use the serverDZ.cfg in the files directory, as this is mounted within the server container, whereas the root is not. --- .gitignore | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 29723bd..7dfb000 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ *.iml .env* node_modules/ -serverDZ.cfg +files/serverDZ.cfg diff --git a/README.md b/README.md index cf8820c..9b25109 100644 --- a/README.md +++ b/README.md @@ -71,12 +71,12 @@ This will download about 3 Gigabytes of files. ## 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 -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