Is it possible to get python-daemon to create "systemd style" PID file?

I.e., systemd wants a daemon to write a file with a specific name that
*contains* the PID of the child process.  python-daemon, OTOH, seems to
use its pidfile parameter as more of a lock file.

Currently, I'm creating my PID file manually in the child process, but
systemd complains, because it wants the PID file to exist before the
parent exits.

--
========================================================================
Ian Pilcher                                         arequip...@gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------
========================================================================

--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to