Annotation For example.service_mk
Logged in as anonymous

Lines of example.service_mk from check-in bd31af2533 that are changed by the sequence of edits moving toward check-in 04f7295047:

                         1: # vim:ft=make:
                         2: 
                         3: # command to start service
                         4: DAEMON_example_COMMAND?=/path/service
                         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
bd31af2533 2020-04-10   28: # _earlyservice - starts after root mount appear
bd31af2533 2020-04-10   29: # _service - doesn't required for early boot
                        30: # you also can select specific starter by inheriting class by full name:
bd31af2533 2020-04-10   31: # _(daemon|plain|svc)_(early)?service
bd31af2533 2020-04-10   32: example: _earlyservice
bd31af2533 2020-04-10   33: 	test -n "$${DAEMON_$@_ENABLE}" || echo service is always execute
                        34: 
bd31af2533 2020-04-10   35: # you can't be sure whether service is enabled on the first run, when future
bd31af2533 2020-04-10   36: # targets are only assembled, as service can be enabled later in the chain
bd31af2533 2020-04-10   37: # somake sure to check whether service is enabled in scripts you are running
bd31af2533 2020-04-10   38: # not in make constructs