Overview
| Comment: | add service post-actions |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
1f0bd9b2f0fadc924cc35bd6ca3f295d |
| User & Date: | arcade on 2025-02-22 07:01:54.924 |
| Other Links: | manifest | tags |
Context
|
2025-03-10
| ||
| 16:49 | service startup/shutdown, bmake updates check-in: 1ae31ed8a2 user: arcade tags: trunk | |
|
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 | |
Changes
Modified service.mk
from [c6dce00c58]
to [4152cabb79].
| ︙ | ︙ | |||
14 15 16 17 18 19 20 |
. if !defined(DAEMON_${service}_COMMAND)
. warning MRC> Service [${service}] defunct: no COMMAND specified
. else
# Service creation targets
. if !target(${service})
| | > > > > | 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
. if !defined(DAEMON_${service}_COMMAND)
. warning MRC> Service [${service}] defunct: no COMMAND specified
. else
# Service creation targets
. if !target(${service})
${service}: ${service}_exit ${_SERVICE} ${service}_after
. endif
#
# Service part that runs after daemonization, we are just turning them
# to macros and making sure they exist
${service}_after: .USE
# Service status targets
. if !target(${service}_status)
${service}_status: ${_SERVICE_STATUS}
. endif
# Service exit targets
|
| ︙ | ︙ |