Kaspersky Scan Engine

Changing variables in the HTTP mode init script (Linux)

For Linux systems only.

You can configure Kaspersky Scan Engine by changing one or more variables in the init script located at /etc/init.d/kavhttpd.

  • SDKPATH—Specifies the directory where Kaspersky Scan Engine is located. The default value is /opt/kaspersky/ScanEngine.
  • CONFILE—Specifies the name and the location of the HTTP mode configuration file. The default value is /etc/kavhttpd.xml.
  • PIDFILE—Specifies the name and the location of the PID file. The default value is /var/run/kavhttpd.pid.

    The script adds a -p option to the command line when launching the Kaspersky Scan Engine binary file.

  • PROGNAME—Specifies the name of the Kaspersky Scan Engine binary file. The default value is kavhttpd.
  • USE_WATCHDOG—Specifies whether monitoring is enabled or disabled. The default value is 0 (monitoring is disabled). To enable monitoring, specify 1.

    For more information about monitoring, see section "Monitoring Kaspersky Scan Engine in HTTP mode".