Simple PidFile Module for a pep3143 daemon implementation.
Bases: object
PidFile implementation for PEP 3143 Daemon.
This Class can also be used with pythons ‘with’ statement.
pidfile (str) – filename to be used as pidfile, including path
Acquire the pidfile.
Create the pidfile, lock it, write the pid into it and register the release with atexit.
None
SystemExit
Release the pidfile.
Close and delete the Pidfile.
None
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.