From: Lennart Poettering Date: Tue, 18 Jan 2011 21:57:46 +0000 (+0100) Subject: service: if a reload operation fails, don't shut down the service X-Git-Tag: v17~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8cfa085894607afdeb8bba025d842adf09ab7ea;p=systemd service: if a reload operation fails, don't shut down the service --- 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;