Command-Line Arguments

To run a configuration daemon Dr.Web ConfigD, type the following command in the command line:

$ <opt_dir>/bin/drweb-configd [options]

Configuration daemon Dr.Web ConfigD can process the following options:

Short form

Long form

Arguments

-h

--help

 

Description: instructs to output short help information to the console about command-line parameters and exit.

 

-v

--version

 

Description: instructs to output information on the module version and exit.

 

-c

--config

<path to file>

Description: instructs to use the specified configuration file.

 

-d

--daemonize

 

Description: instructs to run the component as daemon; that is, without access to terminal.

 

-p

--pid-file

<path to file>

Description: instructs to use the specified PID file.

Example:

$ /opt/drweb.com/bin/drweb-configd -d -c /etc/opt/drweb.com/drweb.ini

The command runs Dr.Web ConfigD as daemon which uses the following configuration file: /etc/opt/drweb.com/drweb.ini.

Notes about startup

To support performance of the suite, the component must be run as daemon. In standard mode, Dr.Web ConfigD is run upon operation startup and has a standard management script located in /etc/init.d.

Convention for paths to product files

The product described in the present document is designed for operation in different UNIX-based operating system. Real paths to product files depend on the operating system installed on the user's computer. For notational convenience, the following conventions are used:

<opt_dir> — directory where main product files reside (including executable files and libraries).

<etc_dir> — directory where the configuration file and a key file reside.

<var_dir> — directory where supporting and temporary product files reside.

Real paths corresponding to the conventions in different operating systems are given in the table below.

Operating system

Convention

Real path

GNU/Linux

<opt_dir>

/opt/drweb.com

<etc_dir>

/etc/opt/drweb.com

<var_dir>

/var/opt/drweb.com

 

 

 

FreeBSD

<opt_dir>

/usr/local/libexec/drweb.com

<etc_dir>

/usr/local/etc/drweb.com

<var_dir>

/var/drweb.com

 

 

 

Solaris

<opt_dir>

The paths are the same as for GNU/Linux.

<etc_dir>

<var_dir>

For space considerations, examples given in the present document use paths for GNU/Linux OS. In some places of the document, where it is possible, examples contain real paths for all of the OSes.