Previous page

Next page

Locate page in Contents

Print this page

set

Linux Summary:

Sets run levels for the specified services.

Request specification:

Name

Min/Max

Type

Description

set

1..[]

service_actionType

 

Returns:

OK/Error.

Description:

This call sets run levels for the specified services. The call is executed internally in two stages:

  1. The current run levels are erased.
  2. The new run levels are set.

If a service doesn't exist, an error will be returned.

Example:

Setting run level 2 for httpd service in the specified server.

<packet version="4.0.0">

<dst>

<host>9bafbeb7-85f7-499e-a210-40e00850a5f3</host>

</dst>

<target>servicem</target>

<data>

<servicem>

<set>

<service>

<name>httpd</name>

<level>2</level>

</service>

</set>

</servicem>

</data>

</packet>

Please send us your feedback on this help page