mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-08-09 08:33:35 +00:00
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:
parent
a074c14386
commit
efb9276a8e
2 changed files with 4 additions and 4 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -2,4 +2,4 @@
|
|||
*.iml
|
||||
.env*
|
||||
node_modules/
|
||||
serverDZ.cfg
|
||||
files/serverDZ.cfg
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue