2013-2015ForgeRock AS.windows-service1OpenDJ${docTargetVersion}windows-serviceregister OpenDJ as a Windows Servicewindows-serviceoptionsDescription
This utility can be used to run OpenDJ directory server as a Windows Service.
Service Options
Disable the service and clean up the windows registry information
associated with the provided service name
Disable the server as a Windows service and stop the server
Enable the server as a Windows service
Provide information about the state of the server as a Windows service
General Options
Display version information
Display usage information
Exit Codes0
The command completed successfully.
> 0
An error occurred.
Example
The following command registers OpenDJ directory server as a Windows Service.
C:\path\to\opendj\bat> windows-service.bat --enableService
After running this command,
you can manage the service using Windows administration tools.