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

Allow to specify pidfile in config file #3707

Merged
merged 1 commit into from
Dec 8, 2021

Conversation

smeinecke
Copy link
Contributor

Default path of pid file is in data directory which cause problems on
hard reset of system as the pid file is not removed.
The path + filename can now be defined as parameter "pidfile" in config.

Related to #760

Default path of pid file is in data directory which cause problems on
hard reset of system as the pid file is not removed.
The path + filename can now be defined as parameter "pidfile" in config.

Related to sysown#760
@pondix
Copy link
Contributor

pondix commented Nov 29, 2021

Automated message: PR pending admin approval for build testing

@renecannao
Copy link
Contributor

add to whitelist

@renecannao
Copy link
Contributor

test this please

@renecannao
Copy link
Contributor

@smeinecke : thank you for the PR!

@renecannao
Copy link
Contributor

retest this please

@JitchMackson
Copy link

We have encountered a situation where being able to configure the PID file location would be really helpful - Is there any chance we could get this tested and merged into a release?

@jmerrill86
Copy link

Checking here to see if there is an estimate for when this can be merged into main. This would be helpful for systems being brought online based on a snapshot of a machine in a running state. There are conflicts where the process tries to start with a PID that is already claimed by another process. Thanks in advance.

@renecannao
Copy link
Contributor

It was merged 9 months ago, as specified in this thread ...

@jmerrill86
Copy link

My mistake, I clearly missed the merge above. Does this mean we can now specify pidfile=<path> in the config to store the pidfile in a location outside of the datadir such as in a /run subdirectory? I was looking through the documentation and didn't see this in the manpage.

Thanks!

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.

5 participants