mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-19 12:36:06 +00:00
21 lines
431 B
ReStructuredText
21 lines
431 B
ReStructuredText
*********
|
|
PID files
|
|
*********
|
|
|
|
The PIDFile :ref:`Engine Plugin<plugins>` is pretty straightforward: it writes
|
|
the process id to a file on start, and deletes the file on exit. You must
|
|
provide a 'pidfile' argument, preferably an absolute path::
|
|
|
|
PIDFile(cherrypy.engine, '/var/run/myapp.pid').subscribe()
|
|
|
|
.. currentmodule:: cherrypy.process.plugins
|
|
|
|
Classes
|
|
=======
|
|
|
|
.. autoclass:: PIDFile
|
|
:members:
|
|
:show-inheritance:
|
|
|
|
|