![KAPERSKY ANTI-VIRUS 5.0 - FOR SENDMAIL WITH MILTER... Administrator'S Manual Download Page 61](http://html1.mh-extra.com/html/kapersky/anti-virus-5-0-for-sendmail-with-milter/anti-virus-5-0-for-sendmail-with-milter_administrators-manual_3447329061.webp)
Additional setup
61
The maximum number of restarts induced by
watchdog
is defined by the
WatchdogMaxRetries
parameter in the
[kavmilter.global]
section. To
disable this parameter, set it to
–1
.
The usage of the
watchdog
utility is regulated by the
–f
command line op-
tion. If the application is loaded with this option,
watchdog
is disabled.
The anti-virus database is reloaded immediately after updating. No ap-
plication restart is needed. The automatic restart of the application is
defined by the
PostUpdateCmd
parameter in the
[updater.options]
section.
6.16. Managing the application from
the command line
Kaspersky Anti-Virus is managed from the command line using the following
command line options:
–h
– Display help on the command line options;
–v
– Display the application version on the console;
–t
– Check the application configuration and verify the configuration oper-
ability; display error messages on the console;
–f
– Run the application and work with the current console (do not switch to
background mode after startup);
–s <socket>
– Define the socket for data transfer; the format of the
<socket>
parameter is as follows:
inet:port@ip-addr
–
Use a network socket working via the port
port
and the address
ip-addr
.
local:/socket/file/path
– Use a local socket.
–u <user >
– Start the application with the rights of the user
<user>
(for ex-
ample, with the
root
user rights). By default, the application is started
with the rights of the
kav
user;
–g <group>
– Start the application with the rights of the user group
<user>
(for example, with the
root
user group rights). By default, the application
is started with the rights of the
kav
user group;
–c <file>
- Use the file
<file>
as the configuration file (default configuration
file is
/etc/kav/5.0/kavmilter/kavmilter.conf
);
–r <command>
- Execute one of the following commands:
reload
–
Reload the application configuration file and the anti-virus da-
tabase; all changes and updates will take effect after restart;