service: if a reload operation fails, don't shut down the service
This commit is contained in:
parent
ba035df230
commit
d8cfa08589
2
TODO
2
TODO
|
@ -1,5 +1,3 @@
|
||||||
* don't fail a service if reload fails
|
|
||||||
|
|
||||||
* reload PID file after reload, allow dynamically changing main PIDs
|
* reload PID file after reload, allow dynamically changing main PIDs
|
||||||
|
|
||||||
* Fix multiple reload statements
|
* Fix multiple reload statements
|
||||||
|
|
|
@ -2650,7 +2650,7 @@ static void service_sigchld_event(Unit *u, pid_t pid, int code, int status) {
|
||||||
if (success)
|
if (success)
|
||||||
service_enter_running(s, true);
|
service_enter_running(s, true);
|
||||||
else
|
else
|
||||||
service_enter_stop(s, false);
|
service_enter_running(s, false);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue