The daemon also supports `systemd socket activation`_, it is automatically detected and requires no configuration on users's side.
+To run the daemon by hand, such as under ``nohup``, use ``-f 1`` to start a single fork. For example:
+
+.. code-block:: bash
+ $ nohup ./daemon/kresd -a 127.0.0.1 -f 1 &
+
+
Configuration
=============
Production code should be compiled with ``-DNDEBUG``.
If you build the binary with ``-DNOVERBOSELOG``, it won't be possible to turn on verbose logging; we advise packagers against using that flag.
+.. note:: If you build with ``PREFIX``, you may need to also set the ``LDFLAGS`` for the libraries:
+
+.. code-block:: bash
+
+ make LDFLAGS="-Wl,-rpath=/usr/local/lib" PREFIX="/usr/local"
+
Alternatively you can build only specific parts of the project, i.e. ``library``.
.. code-block:: bash