python daemon class

Description

Writing MPD_sima (an autoqueue MPD client), I faced the need to daemonize the process since it is an non interactive client meant to run in the backgroud.

Python does not yet provide high level dæmon facilities (PEP 3143 still a draft at the time of writing).

I decided then to gather various contributions available over the web to write my own version of a python daemon, more precisely a class to inherit from and providing daemon capability.


page last updated: Sat 14 Jan 2023