How do I manage a Python based daemon on Linux?
- by BCS
I have a working Python based program that I want to run as a daemon. Currently I'm doing it in a very hackish manner of starting it in with screen-d -m name session and killing it with pkill -f name.
Eventually I'm doing to have to move this to the better system we use here (thus I don't want to modify the program) but in the interim, I'm looking for a cleaner way to do this.
My current thinking is kick it off as a background task from an inti.d script but how do I bring it back down?