chiark / gitweb /
core: don't watch for socket events when service is in SERVICE_STOP
authorLennart Poettering <lennart@poettering.net>
Wed, 11 Feb 2015 20:25:30 +0000 (21:25 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 11 Feb 2015 20:25:30 +0000 (21:25 +0100)
commitd54ddab8cbad46290306fc6e3346089fe3772d5c
tree25f596ed62fc35bfc7733089829111e3075b6f13
parentc31c4324c5120d9b38f8a5e39623c8242ee001e0
core: don't watch for socket events when service is in SERVICE_STOP

If a service has an ExecStop= program that uses the socket the service was
activated by to tell it to terminate, then that should not be used as
trigger to start the service again.

http://lists.freedesktop.org/archives/systemd-devel/2015-February/028058.html
src/core/socket.c