Managing the Squore Windows Service

During the installation of Squore Server on Windows, the installer provides the option to register a service to control Squore's startup and shutdown. This section covers the functionality of the prunmgr utility that allows you to further configure some aspects of the Squore Windows service. Note that when you install the Windows service, you should no longer use the start and stop scripts described in the section called “Starting Squore on Windows”

Windows Service Configuration

After installing Squore Server as a Windows service, you can use the service manager to change some of the settings.

Tip

The Windows service uses Apache Commons Daemon. Consult https://commons.apache.org/proper/commons-daemon/index.html for more information about the framework and the available installation options.

Start the utility by typing the following in a command window as administrator:

<SQUORE_HOME>\bin\prunmgr.exe //ES/squore

Tip

squore is the service name you chose during the installation.

The service manager opens in a new window and allows you to change the following settings:

  1. General Settings

    The General Tab

    From the General tab, you can adjust the Service display name, description and startup type (Automatic to start at boot, Manual to start interactively, Disabled to stop using the service). You can also see and change the current state of the service.

  2. Log On

    The Log On Tab

    From the Log On tab, you can control which Windows account runs the service. Note that any change takes affect after the service is restarted.

    The service is set to run under the local system account by default. Depending on your security requirements you may need to manually set the account to a real Windows user to run the services. For more information, consult the Microsoft Windows documentation at https://technet.microsoft.com/en-us/library/cc755249.aspx.

  3. Logging

    The Logging Tab

    On the Logging tab, you can define paths to log files where the startup and shutdown activities of the service will be saved. The default location for the log file is %SystemRoot%\System32\LogFiles\Apache and generally does not need to be changed, unless you are noticing issues starting and stopping the service.

  4. Java

    The Java Tab

    The Java tab is useful if you need to change the path to your JRE. You can use jvm.dll from the system's %PATH%, or you can point to a specific %JAVA_HOME%\bin\server\jvm.dll if needed.

    Note

    The settings on this tab have no effect over the Java settings for Squore Server. If you want to change the path to the Java installation or the amount of memory used by Squore, refer to the section called “Changing the path to the Java Installation” and the section called “Changing the Java Heap Size” instead.

  5. Startup and Shutdown

    There are no useful settings to be modified on these tabs.