3 ms·
Start point would be to search for socket based activation. http://0pointer.de/blog/projects/socket-activation.html http://0pointer.de/blog/projects/socket-act
by andrewstuart 4y ago
Start point would be to search for socket based activation.
http://0pointer.de/blog/projects/socket-activation.html http://0pointer.de/blog/projects/socket-activation.html
I've done it with Python it's very easy.
systemd listens on a port and when a connection request comes in it starts your service. You could spawn a new process and let systemd keep waiting for new inbound connections.