Overview
Comment: | adding starters, renaming stuff |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ebafd8901531470321774b8cb2fbc7ce |
User & Date: | arcade on 2019-10-21 15:12:26.971 |
Other Links: | manifest | tags |
Context
2019-10-21
| ||
15:38 | fix automountd, fix daemon, change daemonizers description check-in: be4f89a54b user: arcade tags: trunk | |
15:12 | adding starters, renaming stuff check-in: ebafd89015 user: arcade tags: trunk | |
14:21 | fix devd, fix order, change daemonizing process, adding nfsd check-in: 67838bd249 user: arcade tags: trunk | |
Changes
Modified Makefile
from [0bc4666f63]
to [aa2a86c99e].
1 2 3 | .include "/etc/mrc.conf" .export | | | | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | .include "/etc/mrc.conf" .export OTHER_TARGETS:=_service _earlyservice STARTER?=svc .for starter in ${:!find /etc/mrc -name '*.starter.mk'!:S/\/etc\/mrc\///} .include "${starter}" .endfor .if !target(_service) || !target(_earlyservice) .error No service handler defined. .endif #.MAKE.JOBS?=2 #.SILENT: .if defined(AUTOBOOT) SCRIPTS=${:!find /etc/mrc -name '*.init' -o -name '*.service'!:S/\/etc\/mrc\///} |
︙ | ︙ | |||
55 56 57 58 59 60 61 | .undef SCRIPTS ENABLED=${:!env!:C/=.*//:M*_ENABLE} .for var in ${ENABLED} .if !empty(${var}:tl:Mno) | | | | 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | .undef SCRIPTS ENABLED=${:!env!:C/=.*//:M*_ENABLE} .for var in ${ENABLED} .if !empty(${var}:tl:Mno) #.info ${var} .undef ${var} .endif .endfor .undef ENABLED .unexport-env .export #.info ${:!env!} |
Modified automountd.service
from [ddb5b8ecce]
to [bb57bfccba].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_automountd_COMMAND?=/usr/sbin/autmountd DAEMON_automountd_ENABLE?=no DAEMON_automountd_MODULES=autofs | | < | 1 2 3 4 5 6 7 8 | # vim:ft=make: DAEMON_automountd_COMMAND?=/usr/sbin/autmountd DAEMON_automountd_ENABLE?=no DAEMON_automountd_MODULES=autofs automountd: _service # nfsclient -> DAEMON test -z "$${DAEMON_$@_ENABLE}" || /usr/sbin/automount |
Added daemon.starter.mk version [ef71a74be7].
Modified dbus.service
from [a11ce34c02]
to [d18fa9f825].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_dbus_COMMAND?=/usr/local/bin/dbus-daemon DAEMON_dbus_ENABLE?=no DAEMON_dbus_FLAGS?=--system | | | 1 2 3 4 5 6 7 8 9 10 11 12 | # vim:ft=make: DAEMON_dbus_COMMAND?=/usr/local/bin/dbus-daemon DAEMON_dbus_ENABLE?=no DAEMON_dbus_FLAGS?=--system dbus: _service .export DAEMON_$@_ENABLE test -z "$${DAEMON_$@_ENABLE}" || { \ /usr/local/bin/dbus-uuidgen --ensure; \ mkdir -p /var/run/dbus; \ } |
Modified devd.service
from [6cf49d0b2c]
to [8deb19d51a].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_devd_COMMAND?=/sbin/devd DAEMON_devd_ENABLE?=yes DAEMON_devd_FLAGS?=-dq | | | 1 2 3 4 5 6 7 8 | # vim:ft=make: DAEMON_devd_COMMAND?=/sbin/devd DAEMON_devd_ENABLE?=yes DAEMON_devd_FLAGS?=-dq devd: _earlyservice test -n "$${DAEMON_$@_ENABLE}" || sysctl hw.bus.devctl_disable=1 |
Modified inetd.service
from [0a970456ba]
to [efb3e5ff2b].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_inetd_COMMAND?=/usr/sbin/inetd DAEMON_inetd_enable?=no DAEMON_inetd_FLAGS?=-C 60 | | | 1 2 3 4 5 6 7 | # vim:ft=make: DAEMON_inetd_COMMAND?=/usr/sbin/inetd DAEMON_inetd_enable?=no DAEMON_inetd_FLAGS?=-C 60 inetd: _service LOGIN |
Modified node_exporter.service
from [b3ad6b4e84]
to [4c51116bb3].
1 2 3 4 5 6 7 8 9 | # vim:ft=make: DAEMON_node_exporter_COMMAND?=/usr/local/bin/node_exporter --web.listen-address=${DAEMON_node_exporter_LISTEN_ADDRESS} --collector.textfile.directory=${DAEMON_node_exporter_TEXTFILE_DIR} DAEMON_node_exporter_ENABLE?=no DAEMON_node_exporter_LISTEN_ADDRESS?=:9100 DAEMON_node_exporter_TEXTFILE_DIR?=/var/tmp/node_exporter DAEMON_node_exporter_USER?=nobody DAEMON_node_exporter_GROUP?=nobody | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # vim:ft=make: DAEMON_node_exporter_COMMAND?=/usr/local/bin/node_exporter --web.listen-address=${DAEMON_node_exporter_LISTEN_ADDRESS} --collector.textfile.directory=${DAEMON_node_exporter_TEXTFILE_DIR} DAEMON_node_exporter_ENABLE?=no DAEMON_node_exporter_LISTEN_ADDRESS?=:9100 DAEMON_node_exporter_TEXTFILE_DIR?=/var/tmp/node_exporter DAEMON_node_exporter_USER?=nobody DAEMON_node_exporter_GROUP?=nobody node_exporter: _service .export DAEMON_$@_ENABLE test -z "$${DAEMON_$@_ENABLE}" || \ install -d -o ${DAEMON_node_exporter_USER} -g ${DAEMON_node_exporter_GROUP} -m1755 ${DAEMON_node_exporter_TEXTFILE_DIR} |
Added plain.starter.mk version [8e78561a45].
Modified rpcbind.service
from [52ec9f435b]
to [8c259ba4b5].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_rpcbind_COMMAND?=/usr/sbin/rpcbind DAEMON_rpcbind_ENABLE?=no DAEMON_rpcbind_FLAGS?=-d | | | 1 2 3 4 5 6 7 | # vim:ft=make: DAEMON_rpcbind_COMMAND?=/usr/sbin/rpcbind DAEMON_rpcbind_ENABLE?=no DAEMON_rpcbind_FLAGS?=-d rpcbind: _earlyservice NETWORK syslogd |
Modified slim.service
from [8661a4199f]
to [78afd3e9e1].
1 2 3 4 5 | # vim:ft=make: DAEMON_slim_COMMAND?=/usr/local/bin/slim DAEMON_slim_ENABLE?=no | | | 1 2 3 4 5 6 7 | # vim:ft=make: DAEMON_slim_COMMAND?=/usr/local/bin/slim DAEMON_slim_ENABLE?=no slim: _service dbus rm -f /var/run/slim.auth |
Modified smartd.service
from [914546d20c]
to [a7f08c417b].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_smartd_COMMAND?=/usr/local/sbin/smartd DAEMON_smartd_ENABLE?=no DAEMON_smartd_FLAGS?=-c /usr/local/etc/smartd.conf -n | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 | # vim:ft=make: DAEMON_smartd_COMMAND?=/usr/local/sbin/smartd DAEMON_smartd_ENABLE?=no DAEMON_smartd_FLAGS?=-c /usr/local/etc/smartd.conf -n smartd: _service .export DAEMON_$@_ENABLE test -z "$${DAEMON_$@_ENABLE}" || \ test -f /usr/local/etc/smartd.conf || { \ echo smartd requires config file to start. ; \ false; \ } |
Modified sndiod.service
from [ebd9230e35]
to [fbc2f4641f].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_sndiod_COMMAND?=/usr/local/bin/sndiod DAEMON_sndiod_ENABLE?=no DAEMON_sndiod_FLAGS?=-c 0:7 -j off -s default -m mon -s monitor -d | | | 1 2 3 4 5 6 7 | # vim:ft=make: DAEMON_sndiod_COMMAND?=/usr/local/bin/sndiod DAEMON_sndiod_ENABLE?=no DAEMON_sndiod_FLAGS?=-c 0:7 -j off -s default -m mon -s monitor -d sndiod: _service |
Renamed and modified
svc.daemon.mk
[503d770f41]
to svc.starter.mk
[790cb49c9d].
|
| | | | | | < < < < < < < < < < | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | LOCAL_TARGETS:=_service_svc _earlyservice_svc OTHER_TARGETS+=_service_svc _earlyservice_svc .if ${STARTER} == "svc" LOCAL_TARGETS+=_service _earlyservice .endif .for target in ${LOCAL_TARGETS} ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice/SERVICE/} .USE test -z "$${DAEMON_$@_ENABLE}" || { \ test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \ svc -u ${DAEMON_$@_USER:Uroot} -g ${DAEMON_$@_GROUP:Uwheel} init $@ ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \ } .endfor .undef LOCAL_TARGETS |
Modified syslogd.service
from [7b8aa855b6]
to [cf6bd8d6a1].
1 2 3 4 5 6 | # vim:ft=make: DAEMON_syslogd_COMMAND?=/usr/sbin/syslogd DAEMON_syslogd_ENABLE?=yes DAEMON_syslogd_FLAGS?=-ss8cc | | | 1 2 3 4 5 6 7 | # vim:ft=make: DAEMON_syslogd_COMMAND?=/usr/sbin/syslogd DAEMON_syslogd_ENABLE?=yes DAEMON_syslogd_FLAGS?=-ss8cc syslogd: _earlyservice |
Modified watchdogd.service
from [642c770d75]
to [e334ffe2f4].
1 2 3 4 5 6 7 8 9 10 | # vim:ft=make: DAEMON_watchdogd_COMMAND?=/usr/sbin/watchdogd DAEMON_watchdogd_ENABLE?=no DAEMON_watchdogd_FLAGS?=-d .if empty(:!sysctl -qn debug.watchdog || exit 0!) DAEMON_watchdogd_ENABLE=no .endif | | | 1 2 3 4 5 6 7 8 9 10 11 | # vim:ft=make: DAEMON_watchdogd_COMMAND?=/usr/sbin/watchdogd DAEMON_watchdogd_ENABLE?=no DAEMON_watchdogd_FLAGS?=-d .if empty(:!sysctl -qn debug.watchdog || exit 0!) DAEMON_watchdogd_ENABLE=no .endif watchdogd: _earlyservice |