For Linux systems only.
You can run the Kaspersky Scan Engine in HTTP mode by using the kavhttpd.service unit file for systemd
. The unit file allows you to add the kavhttpd service to the service startup list and to manage the service manually from the command line.
This section assumes that you want to add the kavhttpd service for all users. For information on how to add and manage a service under a specific user, please see the official documentation for systemd
and systemctl
.
Starting Kaspersky Scan Engine automatically
To start Kaspersky Scan Engine automatically, add kavhttpd to the service startup list.
To add kavhttpd to the service startup list:
/etc/systemd/system/
directory.systemd
by running the following command:systemctl daemon-reload |
systemctl list-unit-files |
systemctl enable kavhttpd.service |
Remove Kaspersky Scan Engine from the service startup list
To remove kavhttpd from the service startup list, run the following command:
systemctl disable kavhttpd.service |
Managing Kaspersky Scan Engine with systemd from the terminal
To start kavhttpd without rebooting the computer, run the following command:
systemctl start kavhttpd |
After this command is executed, the script prints the [OK]
message and immediately returns control to the terminal, but it will take the kavhttpd
service some time to start.
To stop kavhttpd without rebooting the computer, run the following command:
systemctl stop kavhttpd |
To reload the anti-virus database, run the following command:
systemctl reload kavhttpd |