Skip to content
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

Added first draft for a systemd-unitfile in the contrib #246

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Tqnsls
Copy link

@Tqnsls Tqnsls commented Mar 30, 2023

I know, this file is not perfect, but it works.
I think the problem with the busyserve command is that it sends no "Success"-signal back to the main process, thats why I added the screen-command. I did this with many proprietary gameservers hosted on linux and thats fine, at least for me. Update / Improve if you wish.

The ExecStartPost can be customized to anyone's wishes of course, I added the retry and connect-timeout parameters because the Port is not available immediately at the time of EcexStartPost execution.
Also the ExecStartPost starts the busylight with slow rainbow effects which I liked!
I did not want to add a bash script (which sleeps a short time and then curls the server), but that were possible, too.

This file can be copied to /usr/lib/systemd/system/ or /etc/systemd/system/.

This PR also kind of resolveds #84

I know, this file is not perfect, but it works.
I think the problem with the busyserve command is that it sends no "Success"-signal back to the main process, thats why I added the screen-command. I did this with many proprietary gameservers hosted on linux and thats fine, at least for me. Update / Improve if you wish.

The ExecStartPost can be customized to anyone's wishes of course, I added the retry and connect-timeout parameters because the Port is not available immediately at the time of EcexStartPost execution. I did not want to add a bash script (which sleeps a short time and then curls the server), but that were possible, too.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants