LMI service provider client library.
Enable or disable service.
| Parameters: |
|
|---|
Return human friendly string for enabled state.
| Parameters: | service – Either a service instance of its name. |
|---|---|
| Returns: | Status description. One of: { Yes, No, Static }. Where Static represents a service that can not be enabled or disabled, and are run only if something depends on them. It lacks [Install] section. |
| Return type: | string |
Return lmi.shell.LMIInstance object matching the given service name.
| Parameters: | service (string) – Service name. |
|---|
Return human friendly status description.
| Parameters: | service – Either a service instance or its name. |
|---|---|
| Returns: | Status description. One of { OK, Running, Stopped - OK, Stopped - Error }. |
| Return type: | string |
Invoke parameter-less method on given service.
| Parameters: |
|
|---|---|
| Returns: | Success flag. |
| Return type: | boolean |
List services. Yields service instances.
| Parameters: | kind (string) – What kind of services to list. Possible options are:
|
|---|---|
| Returns: | Instances of LMI_Service. |
| Return type: | generator over lmi.shell.LMIInstance. |
Reload service.
| Parameters: |
|
|---|
Restart service.
| Parameters: |
|
|---|