Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Running with --nodaemon and PID files #3012
This ticket is a migrated Trac ticket 3608
People contributed to the original ticket: @unknown_contributor
Both the master and the worker still use PID files while running with --nodaemon. I've had issues with workers running with --nodaemon not starting because of an old, stale PID file, corresponding to an actual process belonging to another user.
This can be thought to be inconsistent, and harms the writing ofreally simple non forking configuration files to manage the process through an external service manager (systemd, supervisord etc.).
It seems that the cousin
We could expose that, or we could decide that --nodaemon implies no pid file.
I believe this is true in Eight and Nine, and that a fix could be easily backported