<div dir="ltr"><div><div>I'm working on a small daemon[1] that doesn't do a whole lot,
but we need it to work on RHEL5+. Going out of the gate I want to
ensure it also works with systemd, since i want it to be usable on
fedora and el7.<br>
<br>This stackoverflow[2] has a method, but then mentions some
compatibility problems with the library it recommends that seem like it
will not make it to friendly back to el5.<br><br></div><div>In the interm I was going to try leveraging cherrypy's bits (PIDFile and Daemonize), but they aren't backwards compatible to EL5, so we have to fix that.<br>
</div><div><br>I tried to find some place where this was mentioned or recommended but my google-fu failed me.<br>
<br></div>Do you have any recommendations or a existing python daemon that you could point me at that has similar needs?<br><br>thank you very much<br><br></div><div>greg swift<br></div><div><br></div>[1] <a href="https://github.com/rackerlabs/plight" target="_blank">https://github.com/rackerlabs/plight</a><br>
[2] <a rel="nofollow" href="http://stackoverflow.com/questions/13069634/python-daemon-and-systemd-service" target="_blank">http://stackoverflow.com/questions/13069634/python-daemon-and-systemd-service</a></div>