-
Notifications
You must be signed in to change notification settings - Fork 0
@service
The Service decorator tells the command-line interface that this is a service object definition.
As service typically do not have a name but only a description (unless used as template), the name of the output file will consist of the host_name property of the host to which the service is attached and the service_description property of the service ('slugified' with any special characters removed and separated by a dash).
The resulting file in the output directory after compilation will be located in services/${host_name}-${service_description}.cfg.
configuration: Service a JSON object with any of the options in the service object definition.
Please note: the
configurationJSON object on each decorator will be merged with any properties that are specified on the class which is annotated by the decorator.
Made in Amsterdam with ♥
Special thanks to

