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

no daemonize but pidfile specified? #8

Open
mrbrdo opened this issue Feb 3, 2015 · 3 comments
Open

no daemonize but pidfile specified? #8

mrbrdo opened this issue Feb 3, 2015 · 3 comments

Comments

@mrbrdo
Copy link

mrbrdo commented Feb 3, 2015

I noticed you bother to specify a pid file, but daemonize is set to no. Why is that?

The real reason I ask is because I wanted to use monit for my redis, but there is no pidfile, since daemonize is set to no, and there is no setting in this cookbook to change that. I see now that runit already does monitoring, but I still don't see why you bother with the pidfile path, since it's not used.

@nukemberg
Copy link
Member

i'm using redis primarily with runit which requires service processes to run in the foreground. pidfile has been left in case some version of redis requires it.

@mrbrdo
Copy link
Author

mrbrdo commented Feb 5, 2015

Imo it's a bit confusing, it took me a while to figure out what was going on because of that pidfile config. If nothing else it would be worth at least adding a comment about that, although I doubt a newer version of redis will ever require the pidfile setting when it's not daemonized.

@nukemberg
Copy link
Member

you raise excellent points.

On Thu, Feb 5, 2015 at 7:11 PM, Jan Berdajs [email protected]
wrote:

Imo it's a bit confusing, it took me a while to figure out what was going
on because of that pidfile config. If nothing else it would be worth at
least adding a comment about that, although I doubt a newer version of
redis will ever require the pidfile setting when it's not daemonized.


Reply to this email directly or view it on GitHub
#8 (comment)
.

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

No branches or pull requests

2 participants