CONFIG GLOBAL OBJECT SERVICE NEW

Level

globalobject+modify

History

Appears in 6.0.0
Removed plugin attribute in 9.0.0

Description

Add global service object

Usage

name=<servicename> port=<port number> proto=<tcp|udp|any> [toport=<porthigh>] [color=xxxxxx] [comment=<comment>] [update=<0|1|2>]

Remark

Without update parameter, command will return an error if an object with the same name exists.
With update=2, modules which use the object are not reloaded.

Example

CONFIG GLOBAL OBJECT SERVICE NEW name=dns port=53 proto=tcp comment="DNS service" CACHE_CATEGORY objects