factorio-init icon indicating copy to clipboard operation
factorio-init copied to clipboard

Systemd serivce times out on Fedora 35

Open NovaPhoenix opened this issue 3 years ago • 1 comments

Hi, when using the provided systemd service file modified for my installation I always get this as output: Job for factorio.service failed because a timeout was exceeded. See "systemctl status factorio.service" and "journalctl -xeu factorio.service" for details. It starts the game server then 20 seconds later after the timeout shuts it down. Journalctl output: https://gist.github.com/NovaPhoenix/24bfe2add40420b4a4538c259c59fbb5 Service file contents: https://gist.github.com/NovaPhoenix/8db0c39c503870d031df78d8eff28a31 The factorio user has permission to write and read in that directory, as I have been using it to run a chat bridge inside a subdirectory of that and I can touch server.pid, though it gets deleted after the service runs. The game runs fine when the script is manually started.

NovaPhoenix avatar Jan 23 '22 18:01 NovaPhoenix

'fraid I'm not super used to systemd - but what user is trying to open the pidfile? and can you confirm that the pidfile exists within 20 seconds of starting the service?

Bisa avatar Aug 21 '22 21:08 Bisa

if anyone else runs into this - feel free to help out debugging (either ping me here or open a new issue)

Bisa avatar Oct 29 '22 17:10 Bisa