Method ServiceController():setStartType() Foundation
Sets the starttype of the service to a new one
:setStartType( <cName>, [<nStartType>] ) --> NIL | nOldStartType
|SERVICE_AUTO_START *)||Service is started when the system boots|
|SERVICE_DEMAND_START||Service is not started automatically during system boot|
|SERVICE_DISABLED||Service cannot be started|
This class method returns the old start type. When NIL is returned, the appropriate controller is not yet registered with the class method :addController().
<nStartType> instructs the operating system (not) to start a service automatically, or if a service is disabled.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.