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