Overview
| Comment: | add defaults, add CWD |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
be5654b61b5f6b8b1ba0988215ae1f7d |
| User & Date: | arcade on 2023-08-18 13:37:40.124 |
| Other Links: | manifest | tags |
Context
|
2023-08-18
| ||
| 13:38 | add arpwatch check-in: 9967ffe6bc user: arcade tags: trunk | |
| 13:37 | add defaults, add CWD check-in: be5654b61b user: arcade tags: trunk | |
|
2023-08-13
| ||
| 07:15 | Load kernel modules one by one (so all possible would be loaded) check-in: 625f7382df user: arcade tags: trunk | |
Changes
Modified Makefile
from [7ada1edf35]
to [2681177168].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | - + | .include "defaults.mk" .include "order.mk" .include "/etc/mrc.mk" .export |
| ︙ | |||
32 33 34 35 36 37 38 39 40 | 32 33 34 35 36 37 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 63 64 65 66 67 68 69 70 71 72 73 | + + + + + + + + + + - + - + - + - + - + - + + |
test:
echo Empty target.
# Create service targets
.for service in ${SCRIPTS}
. include "${service}.service.mk"
# Set DAEMON defaults
DAEMON_${service}_CWD?= /
DAEMON_${service}_ENABLE?= no
DAEMON_${service}_USER?= root
DAEMON_${service}_GROUP?= wheel
. if !defined(DAEMON_${service}_COMMAND)
. warning MRC> Service [${service}] defunct: no COMMAND specified
. else
# Service creation targets
|
| ︙ |
Modified daemon.starter.mk
from [24d4175fc0]
to [5dbcab7d1d].
1 | 1 2 3 4 5 6 7 8 9 | + - + |
_service_daemon: .USE
cd ${DAEMON_$@_CWD}
|
Modified example.service_mk
from [6f72b6462f]
to [ee61d02d92].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - - - + + + + + + | # vim:ft=make: |
| ︙ |
Modified plain.starter.mk
from [0c718ddd58]
to [9946217fa1].
1 | 1 2 3 4 5 6 7 8 | - + | _service_plain: .USE |
Modified svc.starter.mk
from [fde94af6be]
to [8f0ec9ef40].
1 2 | 1 2 3 4 5 6 7 8 9 10 11 | + - + |
_service_svc: .USE
cd ${DAEMON_$@_CWD} ;\
svc list $@ | grep -q $@ || \
|