Lines of
example.service_mk
from check-in cbff0b494f
that are changed by the sequence of edits moving toward
check-in adf4eb9997:
1: # vim:ft=make:
2:
3: # flags to force daemonizing
4: DAEMON_example_BACKGROUND?=
5:
6: # default working directory
7: DAEMON_example_CWD?=/some/path
8:
9: # command to start service, first present executable is used
10: DAEMON_example_COMMAND?=/path/service /path/other/service
11:
12: # enabled by default?
13: DAEMON_example_ENABLE?=no
14:
15: # general service flags
16: DAEMON_example_FLAGS?=
17:
18: # flags to prevent daemonizing
19: DAEMON_example_FOREGROUND?=
20:
21: # group to run service as
22: DAEMON_example_GROUP?=wheel
23:
24: # kernel modules to load prior to service start
25: DAEMON_example_MODULES?=
26:
27: # user to run service as
28: DAEMON_example_USER?=root
29:
30: # extra commands to execute before starting service
cbff0b494f 2023-08-18 31: # ${_SERVICE} - starts after root mount appear
cbff0b494f 2023-08-18 32: # ${_EARLYSERVICE} - not required on early boot
33: # you also can select specific starter by inheriting class by full name:
34: # ${_(EARLY)?SERVICE(_(SVC|DAEMON|PLAIN))?}
35:
36: example: ${_EARLYSERVICE}
37: : run commands that should go before the service start