Server.daemonize¶
- Server.daemonize()[source]¶
Locks a PID file to ensure that a single instance of the server is running. It is based on the (poorly documented) zc.lockfile package.
- Raises
LockError – The PID file could not be locked.
Locks a PID file to ensure that a single instance of the server is running. It is based on the (poorly documented) zc.lockfile package.
LockError – The PID file could not be locked.