mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 14:02:52 +07: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:
@@ -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