temporalio / temporalio/temporal
Add pid file configuration option
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 23.2k
- Forks
- 1.9k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 228
Description
Is your feature request related to a problem? Please describe.
I'd like to run the Temporal server process as a daemon locally and it would be useful if the server could write its PID to a file.
Describe the solution you'd like
I imagine it working as follows:
- Specify path to the pid file in the configuration
- The server writes its PID on start
- The server deletes the PID file on shutdown
Describe alternatives you've considered
I could also implement this myself with another tool, but it would be convenient if it was built-in.
Additional context
We don't use Docker for local development but rather run dependent servers as processes directly, so now I have to figure out some daemonization process myself. I'm trying to figure out if there's a way in which Temporal server could make this easier.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.