D A E M O N
In this version when you launch the daemon process, it automatically
initiates the following two processes: the primary process handles calls
from the client programs, the secondary process reports performance of
the first. It is possible to disable the second process
.
-dl
—
disables start of the secondary daemon process.
The Daemon command line may look
similar to the following:
./kavdaemon /home -o{/home/my_mail} -A -K
When started the Daemon program
first checks for any daemon process
running
.
If it is not detected, Daemon will act similar to the anti-virus scanner (see
subchapter 4.2), then it will start the daemon process. This is only if you
didn't use the command line switch
-q
. However, if the switch is in the
command line, the daemon process will not be started.
If the process has been started, the Daemon program establishes a data
link with it and uses this link to transfer the command string with scanning
settings. Then the daemon process checks and deletes viruses and uses
this link to record the check results. When the check is finished the program
breaks the link.
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
parent and child processes. To do this you must change values for
the
Father
and
Child
parameters in the
[Priority]
section of the profile.
62