New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
restart_delay always zero is causing restarts to take a bit too long #10
Comments
As far as I remember you can only change it when performing a manual restart, like this: But if you don't want to wait for the restart sequence you can try to remove values from the restart-sequence list in /etc/pzst/config.json, but I'm not sure it would be working, haven't tested it myself. Worst case you could just set the restart sequence to one minute or so. |
Thanks! We are happy with the restart sequence and it's working perfectly, sorry if I didn't explain the problem properly. The real problem is once the countdown goes to zero, the server shuts down and sits idle for about 5 minutes before it starts again. |
Every time pzserver restarts, pzst will perform a backup of your Zomboid/Saves folder. In case the save is big and you have a slow hard disk I guess it could take some time for the process to finish. You could try to disable the backup temporarily to validate this assumption. As pzstadmin user, run the following command: and then comment out the following line: Like this (just add a For the change to take effect you have to stop the pzserver: Then start the pzserver the usual way: On next restart the backup should not occur. |
Many thanks - that's what I was looking for! |
I'm not sure if this is an issue or just a question, but when a mod change is detected and server stops (after the normal countdown) it's taking way longer (maybe close to 10 minutes) than usual for the server to start again. What is the best way to configure restart_delay to, let's say, 1 minute? Thanks!
The text was updated successfully, but these errors were encountered: