.. -*- mode: rst -*-
.. vim: ft=rst

bcfg2-server
============

.. program:: bcfg2-server

Synopsis
--------

**bcfg2-server** [-d] [-v] [-C *configfile*] [-D *pidfile*] [-E
*encoding*] [-Q *repo path*] [-S *server url*] [-o *logfile*] [-x
*password*] [--ssl-key=\ *ssl key*]

Description
-----------

:program:`bcfg2-server` is the daemon component of Bcfg2 which serves
configurations to clients based on the data in its repository.

Options
-------

-C configfile     Specify alternate bcfg2.conf location.
-D pidfile        Daemonize, placing the program pid in *pidfile*.
-E encoding       Specify the encoding of config files.
-Q path           Specify the path to the server repository.
-S server         Manually specify the server location (as opposed to
                  using the value in bcfg2.conf). This should be in
                  the format "https://server:port"
-d                Enable debugging output.
-v                Run in verbose mode.
-h                Print usage information.
--ssl-key=key     Specify the path to the SSL key.

See Also
--------

:manpage:`bcfg2(1)`, :manpage:`bcfg2-lint(8)`
