What is the de facto library for creating Python Daemons

前端 未结 3 2029
萌比男神i
萌比男神i 2021-02-02 10:08

I am attempting to use the python-daemon library which seemed to me to be the safest way to create a Daemon without forgetting anything. The documentation is quite poor, being j

3条回答
  •  死守一世寂寞
    2021-02-02 10:44

    I went with Sander Marechal's A simple unix/linux daemon in Python, it is simple, and you work with it by creating a subclass and overriding the run() method, which feels a very natural way to do things (rather than the with context: approach of the python-daemon module.

提交回复
热议问题