How do I manage a Python based daemon on Linux?
Posted
by BCS
on Stack Overflow
See other posts from Stack Overflow
or by BCS
Published on 2010-06-01T16:45:30Z
Indexed on
2010/06/01
16:53 UTC
Read the original article
Hit count: 136
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?
© Stack Overflow or respective owner