Configure dedicated server timezone

This commit is contained in:
Alexander Sellite 2026-08-18 18:19:45 -04:00
parent 220cfd2354
commit 185538b819
5 changed files with 14 additions and 4 deletions

View file

@ -61,7 +61,11 @@ sudo ./scripts/rollback-native.sh
```
Copy `config/server.cfg.example` to `/etc/netfishing-server.cfg` and adjust the
room name, UDP port, player limit, and public-listing preference. Forward the
room name, UDP port, player limit, and public-listing preference. Set `TZ` in
`/etc/netfishing-server.env` to an IANA timezone such as `America/New_York` when
the server's world should follow that region's wall clock and daylight-saving
rules; the packaged default is `UTC`. The timezone must be present before the
server process starts, so restart the service after changing it. Forward the
configured UDP port through the host firewall and router when accepting
Internet players.
@ -135,8 +139,8 @@ docker compose up -d
```
Set values such as `NETFISHING_SERVER_NAME`, `NETFISHING_SERVER_PORT`,
`NETFISHING_SERVER_MAX_PLAYERS`, `NETFISHING_SERVER_PUBLIC`, and the optional
comma-separated `NETFISHING_SERVER_OPERATORS` in a local `.env` file. The
`NETFISHING_SERVER_MAX_PLAYERS`, `NETFISHING_SERVER_PUBLIC`, `TZ`, and the
optional comma-separated `NETFISHING_SERVER_OPERATORS` in a local `.env` file. The
Compose service runs without Linux capabilities, uses a read-only root
filesystem, and stores persistent state in a named volume.