mirror of
https://github.com/troglobit/finit.git
synced 2026-10-19 11:09:35 +00:00
Don't try to restart forking daemons
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
f33261af6b
commit
e4830c5614
1 file changed
+3
@@ -1871,6 +1871,9 @@ restart:
|
||||
|
||||
if (!svc->pid) {
|
||||
if (svc_is_daemon(svc) || svc_is_tty(svc)) {
|
||||
if (svc_is_forking(svc))
|
||||
break;
|
||||
|
||||
svc_restarting(svc);
|
||||
svc_set_state(svc, SVC_HALTED_STATE);
|
||||
|
||||
|
||||
Reference in new issue
Block a user