Python Daemon Packaging Best Practices

后端 未结 10 1440
没有蜡笔的小新
没有蜡笔的小新 2021-01-30 09:48

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

10条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-01-30 10:17

    Not a silver bullet for what you're asking, but check out supervisord. It handles all the fun bits of managing processes. I use it heavily in a large production environment. Also, it's written in Python!

提交回复
热议问题