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

all: Ensure pid file exists when respawning child process #2461

Merged
merged 1 commit into from
Aug 10, 2024

Conversation

pqarmitage
Copy link
Collaborator

If a child process is respawned, the old pidfile may or may not still exist. If it doesn't exist, we need to recreate it. If it still exists we need to reset our file offset and truncate the file before re-wrighting it.

If a child process is respawned, the old pidfile may or may not still
exist. If it doesn't exist, we need to recreate it. If it still exists
we need to reset our file offset and truncate the file before
re-wrighting it.
@pqarmitage pqarmitage merged commit df93f34 into acassen:master Aug 10, 2024
10 checks passed
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.

1 participant