9.4. Configuration file format
The configuration file consists of objects that type is specified
by a keyword used inside their names and their specification is limited
by braces {}. Only one type of objects is permitted and its keyword is
daemon. A keyword that describes type of object must be a single word
in a whole line. The same rule is applicable to braces that begin and end an object
definition. An generic object definition is shown below:
daemon
{
...
}
Fields occurred between braces are exactly specified like an order of them.
Each field from first six ones in an object definition takes a whole line and has got below form:
keyword=
The first field is binfile that must be followed by a name of the
daemon binary file. The files are looked for in a directory /usr/bin/david-system.
The next field is description describing the daemon in human readable
way. The next field is state that can accept two values:
stop
run
The stop value shows that the daemon can't be run
automatically during the start of dsmd. All daemons with
run value are run in the moment when the
dsmd is starting.
The next field is username describing with whose
user's rights the daemon will be run. In next two fields stdout
and stderr you can specify file names that are standard
out and standard out for errors of a specified daemon.
The optionally field is argv and it can be show
many times. The fields specify the next running parameters of a
given daemon. Each parameter must be show in a separated
argv field.