Directory Services 7.4.3

windows-service

windows-service — register DS as a Windows Service

Synopsis

windows-service options

Description

This utility can be used to run the server as a Windows Service.

Service options

-c, --cleanupServiceserviceName

Disable the service and clean up the windows registry information associated with the provided service name

-d, --disableService

Disable the server as a Windows service and stop the server

-e, --enableService

Enable the server as a Windows service

-s, --serviceState

Provide information about the state of the server as a Windows service

General options

-V, --version

Display version information

-?, -H, --help

Display usage information

Exit codes

0

The command completed successfully.

> 0

An error occurred.