Environment variables

Environment variables #

HTTQ_PORT #

This environment variable determines the TCP port where HTTQ will listen.

Default value: 7532.


HTTQ_WDIR #

This environment variable determines the working directory for HTTQ. This directory must be writable. A check is performed at the beginning of execution to verify if this directory is writable. If it isn’t, HTTQ will call exit(1).

Upon successful termination, HTTQ’s internal state will be saved to the working directory, as an encrypted file named httq.state. Upon a new successful execution, HTTQ will use this file to restore its previously running state.

Default value: same as $PWD.


HTTQ_TMPDIR #

This environment variable determines the temporary working directory for HTTQ. This directory must be writable. A check is performed at the beginning of execution to verify if this directory is writable. If it isn’t, HTTQ will call exit(1).

Upon successful execution, HTTQ will create a PID file inside the temporary working directory, promptly named httq.pid. This file will be automatically removed upon successful termination.

On UNIX, it may be a good idea to set this environment variable to /tmp.

Default value: same as HTTQ_WDIR.
If HTTQ_WDIR is defined, and HTTQ_TMPDIR isn’t, then the value of HTTQ_WDIR is used for HTTQ_TMPDIR.


Made with love and a lot of coffee in Porto Alegre, Brazil
Powered by   openSUSE   Go   Clojure   GNU Emacs   Hugo