![KAPERSKY ANTI-VIRUS - FOR FREEBSD-OPENBSD-BSDI MAIL SERVER Скачать руководство пользователя страница 70](http://html1.mh-extra.com/html/kapersky/anti-virus-for-freebsd-openbsd-bsdi-mail-server/anti-virus-for-freebsd-openbsd-bsdi-mail-server_user-manual_653134070.webp)
D A E M O N
For the Daemon program to be started correctly the initialization file,
AvpUnix.ini
(see Appendix B), must be located in a directory together
with the Daemon module. If you decide to move the executable file,
kavdaemon
, to some other directory,
AvpUnix.ini
must be copied
there as well and then appropriately edited (e.g. the path to virus-
definition databases).
To optimize process loading of you may change priorities of the par-
ent and child processes. To do this you must change values for the
Father
and
Child
parameters in the
[Priority]
section of the profile.
6.3. Calling up the process from a
client program
How to call up the process from a client program. The
example.
To call up the existing daemon process from the client program,
follow these steps:
1. Create a socket.
2. Link the socket to the Daemon program.
3. Type the corresponding command string into the socket.
The general format of the string is:
<flags>date_and_time:command param
The
<flags>
substring must be substituted with the following values:
•
0
— the
command param
substring transfers the file
name and parameters of the command line. In the sim-
plest case, just the file name will be transferred. In this
case the string can look similar to the following:
<0>27
Mar 13:40:11:/tmp/test.tgz.
In a more complicated case, the
69