Files
finit/src
Ming Liu 6b10174bcb service.c: create conditions according to runtask exit status
In commit f0f358a13:
[ service.c: set/clear condition 'done' for run tasks ]

a runtask done condition would be set/cleared when entering DONE/HALTED
states, but it did not cover all the user cases, for instance, sometimes
an end user may want to know if a runtask has finished sucessfully or
to decide what to do on its failures.

So we now change the conditions to: tsktype/tskname/success and
tsktype/tskname/failure.

And this change not only applies to run/task types, but also applies to
sysv type, in case it fails, a sysv/tskname/failure condition would be
set.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2022-02-26 14:05:49 +01:00
..
2022-02-25 07:15:03 +01:00
2021-08-29 10:35:08 +02:00
…
2021-09-21 10:47:15 +02:00
2022-01-30 10:37:14 +01:00
…
2022-02-13 22:45:47 +01:00
2022-02-15 12:29:40 +01:00
2022-02-25 07:16:19 +01:00
…
2022-01-02 01:34:19 +01:00
2022-01-02 01:34:19 +01:00
…
…
2021-04-25 22:10:42 +02:00
2021-06-25 13:08:14 +08:00
…
2022-02-25 07:52:42 +01:00
2021-09-17 13:10:01 +02:00
2021-06-25 13:08:14 +08:00
2021-05-30 11:26:41 +02:00
2021-04-25 22:10:42 +02:00
2022-02-15 12:29:40 +01:00