16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
DAEMON_example_FLAGS?=
# flags to prevent daemonizing
DAEMON_example_FOREGROUND?=
# group to run service as
DAEMON_example_GROUP?=wheel
# kernel modules to load prior to service start
DAEMON_example_MODULES?=
# user to run service as
DAEMON_example_USER?=root
# extra commands to execute before starting service
# ${_SERVICE} - starts after root mount appear
# ${_EARLYSERVICE} - not required on early boot
# you also can select specific starter by inheriting class by full name:
# ${_(EARLY)?SERVICE(_(SVC|DAEMON|PLAIN))?}
example: ${_EARLYSERVICE}
: run commands that should go before the service start
|
>
>
>
>
>
>
>
|
|
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
DAEMON_example_FLAGS?=
# flags to prevent daemonizing
DAEMON_example_FOREGROUND?=
# group to run service as
DAEMON_example_GROUP?=wheel
# lower process priority by using `idprio`
DAEMON_example_IDPRIO?=
# kernel modules to load prior to service start
DAEMON_example_MODULES?=
# raise process priority by using `rtprio`
# (IDPRIO setting takes precedence if set)
DAEMON_example_RTPRIO?=
# user to run service as
DAEMON_example_USER?=root
# extra commands to execute before starting service
# ${_EARLYSERVICE} - starts after root mount appear
# ${_SERVICE} - not required on early boot
# you also can select specific starter by inheriting class by full name:
# ${_(EARLY)?SERVICE(_(SVC|DAEMON|PLAIN))?}
example: ${_EARLYSERVICE}
: run commands that should go before the service start
|