Skip to content

ServiceConfig

Immutable snapshot of a service's configuration.

Returned by Service.config.

Fields

binary_path @ Str

Service command line.

dependencies @ Tuple[...Str]

Service and load-order-group names this service depends on.

display_name @ Str

Display name.

error_control @ (ErrorControl | Int)

Error control level. A native value this module does not name is returned as an Int.

load_order_group @ (Str | nil)

Load-order group.

service_start_name @ Str

Account the service runs as.

service_type @ ServiceType

Service type flags.

start_type @ (StartType | Int)

Start type. A native value this module does not name is returned as an Int.

tag_id @ Int

Load-order tag within load_order_group.