mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
Move run/tasks to stopping state when they exit, like services
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
2b6f00f126
commit
29fe8cc73d
1 file changed
+1
@@ -1087,6 +1087,7 @@ restart:
|
||||
}
|
||||
|
||||
if (svc_is_runtask(svc)) {
|
||||
svc_set_state(svc, SVC_STOPPING_STATE);
|
||||
svc->once++;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user