]> err.no Git - systemd/commit
socket: fail the socket if the service keeps dying on start
authorMichal Schmidt <mschmidt@redhat.com>
Mon, 5 Mar 2012 21:47:54 +0000 (22:47 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 5 Mar 2012 21:47:54 +0000 (22:47 +0100)
commitc2f3480897b51dd9b2137f1eeddb4c851e9c6e3b
tree0b67acba3f0705b4e78c1d1643785ea6b223d56d
parent82bdec0d65e38333286ae025e5d1aae29b8463f5
socket: fail the socket if the service keeps dying on start

If the service reaches the start limit, mark the sockets that activate
it as failed (with the result code 'service-broken').
This way the sockets won't act as tarpits for clients connecting to
them.
src/service.c
src/socket.c
src/socket.h