Skip to content

[Solved] [Valheim] Random Stop Command and No Lockfile found #3323

Answered by romleinster
romleinster asked this question in Q&A
Discussion options

You must be logged in to vote

Running as a system unit (copy the vhserver.service file to /etc/systemd/system/ and run with sudo systemctl start vhserver) seems to resolve this issue. Re-reading the arch systemd user wiki I found this part I overlooked about user units:

This process will survive as long as there is some session for that user, and will be killed as soon as the last session for the user is closed

This is the intended behavior for user units, and thus they are not a good way to run a persistent server. Thanks for your help resolving this.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
6 replies
@EugeneGGHQ
Comment options

@romleinster
Comment options

@EugeneGGHQ
Comment options

@romleinster
Comment options

@romleinster
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by romleinster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants