Can we provide a simple example with daemon.run() or daemon.start(), daemon.stop() ?
The doc here is too short: https://pypi.python.org/pypi/python-daemon/
If would be interesting to show to do closing tasks before stopping the daemon? (such as mentioned here http://stackoverflow.com/q/40391812/1422096)
PS: There are many modules called python-daemon (this other one for example), is this one exactly the one we get with pip install python-daemon?