Package com.ms.service Previous
Previous
Contents
Contents
Index
Index
Next
Next

Installing a System Service

Use the svcsetup program to install your service.

svcsetup

svcsetup ServiceName ClassName [options]

Installs a system service.

ParameterDescription
ServiceName The name that will be used to register the service.
ClassName The name of your class derived from the Service class to be used as the system service.
options
–classpath classpath Path to the service classes.
–displayname displayname Descriptive name for the service. Default is ServiceName.
–eventsource eventsource Event source name. Default is "Java Service."
–user user Name of the account for the service to run as. Default is "LocalSystem."
–password password Password for the user account.



Top© 1997 Microsoft Corporation. All rights reserved. Legal Notices.