PLBCS_SERVICE_FAIL Keyword
PLBCS_SERVICE_FAIL{x}={action}
This optional keyword defines the client module's failure action when running as a NT service. The value of {x} may be one of the following values:
|
Value |
Meaning |
|
1 |
First failure |
|
2 |
Second failure |
|
3 |
Subsequent failures |
The {action} value is specified as a decimal number and may be one of the following values:
|
Value |
Meaning |
|
0 |
Take no action (default) |
|
1 |
Restart the service |
|
2 |
Reboot the computer |
Note the following:
1. If the service controller handles the SC_ACTION_REBOOT action, the caller must have the SE_SHUTDOWN_NAME privilege. For more information, see Running with Special Privileges in the Microsoft documentation.
See Also: PLBCLIENT Keywords, PLBSERVE Command Syntax, PLBCS_SERVICE_DELAY, PLBCS_SERVICE_DESC, PLBCS_SERVICE_RESTART
![]() |