[systemd-devel] Socket activation for Java services

Jian Lin lj at linjian.org
Mon Dec 24 07:29:45 PST 2012


Hi,

I want to use systemd to manage some services written in Java.
I found it is easy to write service units for starting and stopping
the services.
However, I also hope to implement the socket activation for Java services,
in order to start the service when receiving the first connection.
Should I encapsulate sd-daemon.c or something else by JNI,
or hack the implementation of Socket class?
Or any other suggestions?

Thanks for your time!

--
Jian Lin (林健)
http://linjian.org


More information about the systemd-devel mailing list