Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
systemd-mini.1472
0001-core-don-t-watch-for-socket-events-when-se...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-core-don-t-watch-for-socket-events-when-service-is-i.patch of Package systemd-mini.1472
From d54ddab8cbad46290306fc6e3346089fe3772d5c Mon Sep 17 00:00:00 2001 From: Lennart Poettering <lennart@poettering.net> Date: Wed, 11 Feb 2015 21:25:30 +0100 Subject: [PATCH] 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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/socket.c b/src/core/socket.c index d3dabc8..48c43a2 100644 --- a/src/core/socket.c +++ b/src/core/socket.c @@ -2603,10 +2603,6 @@ static void socket_trigger_notify(Unit *u, Unit *other) { socket_notify_service_dead(s, se->result == SERVICE_FAILURE_START_LIMIT); if (se->state == SERVICE_DEAD || - se->state == SERVICE_STOP || - se->state == SERVICE_STOP_SIGTERM || - se->state == SERVICE_STOP_SIGKILL || - se->state == SERVICE_STOP_POST || se->state == SERVICE_FINAL_SIGTERM || se->state == SERVICE_FINAL_SIGKILL || se->state == SERVICE_AUTO_RESTART) -- 2.1.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor