3.5 Dicod Invocation

This section summarizes dicod command line options.

--config=file

Read this configuration file instead of the default ‘$sysconfdir/dicod.conf’. See section Configuration.

-f
--foreground

Operate in foreground. See section Daemon Operation Mode.

--stderr

Output diagnostic to stderr. See section –stderr.

--syslog

After successful startup, output any diagnostic to syslog. This is the default.

-E

Preprocess configuration file and exit. See section Using Preprocessor to Improve the Configuration..

--preprocessor=prog

Use prog as a preprocessor for configuration file. The default preprocessor command line is m4 -s, unless overridden while configuring the package (see section Default Preprocessor).

See section Using Preprocessor to Improve the Configuration..

--no-preprocessor

Do not use external preprocessor. See section Using Preprocessor to Improve the Configuration..

-I dir
--include-dir=dir

Add the directory dir to the list of directories to be searched for preprocessor include files. See section Using Preprocessor to Improve the Configuration..

-s
--single-process

In daemon mode, process connections in the main process, without starting subprocesses for each connection (see section Daemon Operation Mode). This means that the daemon is able to serve only one client at a time. The ‘--single-process’ option is provided for debugging purposes only. Never use it in production environment.

-T
--transcript

Enable session transcript. This instructs dicod to log all commands it receives and all responses it sends during the session. Transcript is logged via the default logging channel (see section Logging and Debugging). If logging via syslog, the ‘debug’ priority is used.

See also Session Transcript, for a description of the similar mode in dico, the client program.

--no-transcript

Disable transcript mode. This is the default. Use this option if you wish to temporarly disable transcript mode, enabled in the configuration file (see section transcript).

-i
--inetd

Run in inetd mode. See section Inetd Operation Mode.

-x
--debug=level

Set debug verbosity level. The level argument is an integer ranging from ‘0’ (no debugging) to ‘100’ (maximum debugging information).

--source-info

Include source line information in the debugging output.

--trace-grammar

Trace parsing of the config file. The option is provided for debugging purposes.

--trace-lex

Trace config file lexer. The option is provided for debugging purposes.

--config-help

Show configuration file summary. See section Configuration.

-t
--lint

Check configuration file syntax and exit with code ‘0’ if it is OK, or with ‘78’ if there are errors. See section Configuration.

-h
--help

Display a short command line option summary and exit.

--usage

List all available command line options and exit.

--version

Print program version and exit.