8000 feat: rely on command environment instead of PID file by augustoccesar · Pull Request #222 · mentimeter/linkup · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

feat: rely on command environment instead of PID file #222

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

Merged
merged 1 commit into from
Apr 4, 2025

Conversation

augustoccesar
Copy link
Collaborator
@augustoccesar augustoccesar commented Apr 4, 2025

Pid files haven't been very reliable for the purpose of knowing if a background service is running and what is its PID. With this new approach, we start all the background services with an extra environment variable called LINKUP_SERVICE_ID, which then we query for knowing if the service is running and what is its PID.

Closes SHIP-2049
Related to SHIP-2057

Pid files haven't been very reliable for the purpose of knowing if a background service is running and what is its PID.
With this new approach, we start all the background services with an extra environment variable called `LINKUP_SERVICE_ID`,
which then we query for knowing if the service is running and what is its PID.

Closes SHIP-2049
@augustoccesar augustoccesar requested review from ostenbom, charlottea98 and a team April 4, 2025 09:15
@augustoccesar augustoccesar self-assigned this Apr 4, 2025
@augustoccesar augustoccesar merged commit beb709b into next Apr 4, 2025
6 checks passed
@augustoccesar augustoccesar deleted the augustoccesar/stop-relying-on-pid-files branch April 4, 2025 11:32
augustoccesar added a commit that referenced this pull request Apr 9, 2025
This will be merged to release `3.0.0`.

Closes SHIP-2057

### Changelog:
- Drop Caddy as a dependency and use self-signed certificates.
  - #201
  - #207
  - #212 
  - #215 
  - #217 
- Drop dnsmasq as a dependency and use a local Hickory server.
  - #219
  - #224
- Support pre-release (beta) versions based on changes to `next` branch.
  - #204
  - #205
  - #211 
  - #213 
  - #214 
  - #221
- Use anyhow for application errors instead of "global" thiserror enum.
  - #218 
- Stop relying on pidfiles for background services
  - #222 
- Move installation script from Bash to Python
  - #223 
  - #226
- Improve possible orphans resolution
  - #225  

Thank you @diegomartinrecillas @ludwigbacklund @solveigsg12 and
@jauniusmentimeter for beta testing it! ❤️
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0