[tor-commits] [sbws/master] docs: add example destination in DEPLOY

juga at torproject.org juga at torproject.org
Fri Dec 7 15:34:01 UTC 2018


commit ecb35bcf36c5184cda83aeaf8f1e34ab2ad747f8
Author: juga0 <juga at riseup.net>
Date:   Fri Nov 30 16:02:25 2018 +0000

    docs: add example destination in DEPLOY
    
    Closes #28649.
---
 DEPLOY.rst | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/DEPLOY.rst b/DEPLOY.rst
index 6789db4..239aefa 100644
--- a/DEPLOY.rst
+++ b/DEPLOY.rst
@@ -28,7 +28,19 @@ scanner setup
 Install sbws according to ``./INSTALL.rst`` (or `/INSTALL.rst </INSTALL.rst>`_
 or :ref:`install`).
 
-To configure destinations, create a configuration file according to
+To run the ``scanner`` it is mandatory to create a configuration file with at
+least one ``destination``.
+
+If ``sbws`` is installed from the Debian package, then create a file in
+``/etc/sbws/sbws.ini`` like in the following example:
+
+.. literalinclude:: /examples/sbws.example.ini
+    :caption: Example sbws.example.ini
+
+If ``sbws`` is installed from the sources as a non-root user then create the
+file in ``~/.sbws.ini``.
+
+More details about the configuration file can be found in
 ``./docs/source/man_sbws.ini.rst`` (or `/docs/source/man_sbws.ini.rst <man_sbws.ini>`_
 or :doc:`man_sbws.ini` or ``man sbws.ini``)
 





More information about the tor-commits mailing list