service

abstract fun service(name: String, action: Action<Service>)

Registers a new Service

Parameters

name

the name of the service, this is an arbitrary name only used to create the tasks. It must be unique

action

the configure action for the Service