If you need SpringSource dm Server to start automatically when the operating system starts, you should run SpringSource dm Server as a Windows service or a UNIX background process. You can do this by using a service wrapper script provided with SpringSource dm Server.
SERVER_HOME/bin/service directory contains a service wrapper script for each supported operating system. Before running the
appropriate script, you must either set the
SERVER_HOME environment variable to point to the SpringSource dm Server
installation directory or edit the file
If you run the service wrapper script with no option, it will display the available options. The most useful options are described in the following table.
Table 2.1. Service Wrapper Options
|Starts SpringSource dm Server in the foreground. Useful for validating that the service wrapper is configured correctly.|
|Windows only. Installs SpringSource dm Server as a Windows service.|
|Starts SpringSource dm Server in the background. On UNIX operating systems, you may call
the wrapper script with this option during initialization, for example as part of |
|Stops the SpringSource dm Server background process. On UNIX operating systems, you may call
the wrapper script with this option during termination, for example as part of |
|Windows only. Removes SpringSource dm Server as a Windows service.|