The service file is not well written as it doesn't wait for the network to be available to start.
I would suggest to add After=network-online.target
inside the [Unit]
section so that it at least waits for the network to be on before starting. Otherwise, the user will notice that the service has failed every single time after computer boot with message failed to connect to Steam servers
.
Pinned Comments
Shasta commented on 2022-01-04 07:49 (UTC) (edited on 2022-01-04 08:14 (UTC) by Shasta)
Official documentation for settings up a dedicated server: https://pzwiki.net/wiki/Dedicated_Server
While this package says version 41.65 the newest version from
steamcmd
will always be downloaded.While this package attempts to make running a PZ server as easy as possible, several manual steps need to be taken to get a working server:
/etc/project-zomboid/server.conf
Further settings can be configured via:
/etc/project-zomboid/server.conf"
/opt/project-zomboid-server/Zomboid/Server/servertest*"
/opt/project-zomboid-server/ProjectZomboid64.json"
By default, saves will be stored in
/opt/project-zomboid-server/Zomboid/Saves/Multiplayer/
The best way to edit game settings (servertest* by default) is in game:
Copy files saved from the client to the server.