Check-in [f2a642cc7a]
Logged in as anonymous
Overview
Comment:pretty print, comment
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: f2a642cc7ae3b68ffefe9b1c3947151e7e197f2d0533a468c977f151c0df96e4
User & Date: arcade on 2025-02-22 07:00:31.464
Other Links: manifest | tags
Context
2025-02-22
07:01
add service post-actions check-in: 1f0bd9b2f0 user: arcade tags: trunk
07:00
pretty print, comment check-in: f2a642cc7a user: arcade tags: trunk
2025-02-10
19:18
add log on metaservice shutdown check-in: 4e51487471 user: arcade tags: trunk
Changes
38
39
40
41
42
43
44





45
46
47
48
49
50
51
52
53
54
55
56
57

.for starter_source in ${:!find /etc/mrc -name '*.starter.mk'!:S/\/etc\/mrc\///}
starter:=${starter_source:S/.starter.mk$//}
Starter:=${starter:tu}

OTHER_TARGETS:=${OTHER_TARGETS} _service_${starter} _service_${starter}_exit _service_${starter}_status






_SERVICE_${Starter}:=_service_pre DAEMON _service_${starter} _service_check
_EARLYSERVICE_${Starter}:=_service_pre SERVICE _service_${starter} _service_check
_SERVICE_${Starter}_EXIT:=_service_${starter}_exit _service_post_exit

.if "${STARTER}" == "${starter}"
_SERVICE:=_service_pre DAEMON _service_${starter} _service_check
_EARLYSERVICE:=_service_pre SERVICE _service_${starter} _service_check
_SERVICE_EXIT:=_service_${starter}_exit _service_post_exit
.endif

.export
.include "${starter_source}"
.endfor







>
>
>
>
>




|



|

|
|

38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

.for starter_source in ${:!find /etc/mrc -name '*.starter.mk'!:S/\/etc\/mrc\///}
starter:=${starter_source:S/.starter.mk$//}
Starter:=${starter:tu}

OTHER_TARGETS:=${OTHER_TARGETS} _service_${starter} _service_${starter}_exit _service_${starter}_status

# here we are inheriting pieces of different targets into one single target, so
# everything is appended in the order, but gets organized a little bit
# differently, all targets with .USEBEFORE are added before current target
# script, so after "_service_pre _service_check" we got that order inverted

_SERVICE_${Starter}:=_service_pre DAEMON _service_${starter} _service_check
_EARLYSERVICE_${Starter}:=_service_pre SERVICE _service_${starter} _service_check
_SERVICE_${Starter}_EXIT:=_service_${starter}_exit _service_post_exit

.	if "${STARTER}" == "${starter}"
_SERVICE:=_service_pre DAEMON _service_${starter} _service_check
_EARLYSERVICE:=_service_pre SERVICE _service_${starter} _service_check
_SERVICE_EXIT:=_service_${starter}_exit _service_post_exit
.	endif

.	export
.	include "${starter_source}"
.endfor