From d8cfa085894607afdeb8bba025d842adf09ab7ea Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 18 Jan 2011 22:57:46 +0100 Subject: [PATCH] service: if a reload operation fails, don't shut down the service --- TODO | 2 -- src/service.c | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/TODO b/TODO index 4605115d..61a8cfcd 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,3 @@ -* don't fail a service if reload fails - * reload PID file after reload, allow dynamically changing main PIDs * Fix multiple reload statements diff --git a/src/service.c b/src/service.c index e765004e..67b1dfd4 100644 --- a/src/service.c +++ b/src/service.c @@ -2650,7 +2650,7 @@ static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) { if (success) service_enter_running(s, true); else - service_enter_stop(s, false); + service_enter_running(s, false); break; -- 2.39.5