Trying to start Valheim as a service with LinuxGSM #4586
-
The server starts fine when run with the
However when I run it and watch the logs with
Does anyone have any idea on how to get this service to work so the Valheim server starts when Linux boots and logs in? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I haven't tried this myself, but there's a documentation page that explains how to run a game server as a service, with an example service file: https://docs.linuxgsm.com/configuration/running-on-boot The reason systemd is detecting your service as stopped is probably because Type is "simple" while it should be "forking". I'm not sure why the server itself is showing as stopped, but I would recommend mimicking the sample service file as close as possible, it might help. |
Beta Was this translation helpful? Give feedback.
I haven't tried this myself, but there's a documentation page that explains how to run a game server as a service, with an example service file: https://docs.linuxgsm.com/configuration/running-on-boot
The reason systemd is detecting your service as stopped is probably because Type is "simple" while it should be "forking". I'm not sure why the server itself is showing as stopped, but I would recommend mimicking the sample service file as close as possible, it might help.