mirror of
https://github.com/troglobit/finit.git
synced 2026-10-16 10:39:35 +00:00
Track run/tasks, should run at least once per declared runlevel
This patch adds a 'once' counter to the svc_t for run/task jobs. This counter is incremented when Finit calls service_start() and is reset on runlevel changes. Also, at the end of a runlevel each run/task have their state reset to SVC_HALTED_STATE so they can be launched again for the new runlevel, if so declared. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
5117b723c2
commit
3c015f384d
4 files changed
+31
-2
No files matched your search
Reference in new issue
Block a user