I have a tool which I have written in python and generally should be run as a daemon. What are the best practices for packaging this tool for distribution, particularly how sho
There are many snippets on the internet offering to write a daemon in pure python (no bash scripts)
http://www.jejik.com/articles/2007/02/a_simple_unix_linux_daemon_in_python/ looks clean...
If you want to write your own,
the principle is the same as with the bash daemon function.
Basically:
On start:
On stop:
I don't know any widely used package doing this though.