temporalio / temporalio/temporal

Add pid file configuration option

Open
#1,898 1 comment 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

enhancement
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:

  1. Specify path to the pid file in the configuration
  2. The server writes its PID on start
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.