5.32 HERCPRIO (Hercules process priority)

5.32.1 Function

The HERCPRIO parameter specifies the process priority for Hercules. See section

5.82 “Process and
Thread Priorities” for details.

Caution: HERCPRIO should not have a higher dispatching priority than the TOD clock and timer thread.

5.32.2 Syntax

Descriptive

nn

Diagram

¬¬¬¬§¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬ÊÍ




nn

5.32.3 Parameter

0

Specifies a process priority for Hercules of 0. This is the default

nn

This value specifies the process priority for Hercules. For details on the priority
values see section

5.82 (“Process and Thread Priorities”). The default is 0.

5.32.4 Examples

Example 1:

Set the Hercules process priority to 0.

HERCPRIO 0

5.33 HTTP (HTTP server configuration)

5.33.1 Function

The HTTP statement configures the HTTP server. More than one HTTP statement can be coded in the
configuration file. Depending on the given arguments the port on which the HTTP server will listen and
the authorization (if any) or the location of the HTTP server files can be specified. Additional arguments
allow to start or to stop the HTTP server. Please note, that the HTTP server is not started by default (i.e.
without a “HTTP START” statement).

5.33.2 Syntax

Descriptive

HTT path port userid password

Diagram

Êʬ¬¬ HTTP ¬¬¬§
¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬§¬¬¬¬¬¬¬¬¬¬ÊÍ



¬¬¬ ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«



path ¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬¬«



¬¬¬ port






userid password

5.33.3 Parameter

START

Start the HTTP server (if it is stopped).

STOP

Stop the HTTP server (if it is started).

ROOT

Keyword to specify the root directory of the HTTP server files. The HTTP root can
only be set if the HTTP server is in the stopped state.

path

The full path of the root directory where the HTTP server files reside. If this para-
meter is not specified the default value for Win32 builds of Hercules is the directory
where the Hercules executables themselves reside. For non-Win32 builds it is the
directory specified as the default package installation directory when the Hercules
executables were built. This can vary depending on how the Hercules package was
built, it is commonly “/usr/local/share/hercules”.

PORT

Keyword to specify the port on which the HTTP server will listen (including optional
authorization information). The HTTP port and authorization information can only
be set if the HTTP server is in the stopped state.

port

The port number must be either 80 or within the range of 1024 to 65535 inclusive.

Previous Page Next Page