Answer the question
In order to leave comments, you need to log in
How to daemonize a python script?
Lots of stuff, but nothing is clear.
There is a script. Which must be alive forever. How to rewrite it and what else needs to be done so that
- after a reboot it starts
- if it suddenly dies - the traceback is written to the log, and the script itself is started again
- so that it can be started and stopped manually through the "service" (for ubuntu)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question