Skip to content

ezbake: Introduce service-port variable #80

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

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

Conversation

bastelfreak
Copy link
Contributor

This enables ezbake to use the port in templates, e.g. rendering the systemd unit file. This is required to add a post start command to check if the tcp port is already reachable.

@bastelfreak bastelfreak self-assigned this Aug 4, 2025
@bastelfreak bastelfreak added the bug Something isn't working label Aug 4, 2025
This enables ezbake to use the port in templates,
e.g. rendering the systemd unit file. This is
required to add a post start command to check if
the tcp port is already reachable.
bastelfreak added a commit to bastelfreak/ezbake that referenced this pull request Aug 4, 2025
This adds a bit of a startup delay to ensure that systemd not just
starts the process and thinks the service is already up and running.

Previously this was handled by the wrapper script and Type=forking. This
commit fixes a regression from OpenVoxProject@b2de7c7

This also requires changes to the projects to provide the actual port.

* OpenVoxProject/openvox-server#80
* OpenVoxProject/openvoxdb#69

This is just a workaround and not a perfect solution. For systemd-based
systemd we should implement sd_notify and switch to Type=notify-reload.

https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#Type=
@bastelfreak
Copy link
Contributor Author

We first need to merge OpenVoxProject/ezbake#37, otherwise CI won't pass.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant