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