[systemd-devel] socket based activation for Python?

Felix Schwarz felix.schwarz at oss.schwarz.eu
Sun Nov 7 05:19:15 PST 2010


Hi,

I develop Python software and some of this software comes with a Python 
daemon which is started during boot. Í can write a service file easily, 
just starting the daemon as I do now with a traditional init script.

If I understand the concept correctly, my daemon should use socket-based 
activation for the most efficient usage of systemd. However I did not 
find any reference how to do that in Python…
To me it looks like sd-daemon and friends are only available for 
applications written in C.

- Is that true?
- Is there any project to provide systemd glue code to Python?

fs


More information about the systemd-devel mailing list