]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
README: remove trailing whitespace
authorTomas Krizek <tomas.krizek@nic.cz>
Thu, 11 Jan 2018 12:55:08 +0000 (13:55 +0100)
committerPetr Špaček <petr.spacek@nic.cz>
Thu, 11 Jan 2018 18:19:48 +0000 (19:19 +0100)
daemon/README.rst

index 1d891e6c4a78544e3b6927e7b223944e0d994316..b58a47e39b4f819acb04f2036b26b0853cd0fe62 100644 (file)
@@ -1,5 +1,5 @@
 ************************
-Knot DNS Resolver daemon 
+Knot DNS Resolver daemon
 ************************
 
 The server is in the `daemon` directory, it works out of the box without any configuration.
@@ -264,7 +264,7 @@ to download cache from parent, to avoid cold-cache start.
 
        if cache.count() == 0 then
                -- download cache from parent
-               http.request { 
+               http.request {
                        url = 'http://parent/cache.mdb',
                        sink = ltn12.sink.file(io.open('cache.mdb', 'w'))
                }
@@ -386,7 +386,7 @@ Environment
    If called with a parameter, it will change kresd's directory for
    looking up the dynamic modules.  If called without a parameter, it
    will return kresd's modules directory.
-   
+
 .. function:: verbose(true | false)
 
    :return: Toggle verbose logging.
@@ -839,7 +839,7 @@ daemons or manipulated from other processes, making for example synchronised loa
 
    Close the cache.
 
-   .. note:: This may or may not clear the cache, depending on the used backend. See :func:`cache.clear()`. 
+   .. note:: This may or may not clear the cache, depending on the used backend. See :func:`cache.clear()`.
 
 .. function:: cache.stats()
 
@@ -944,7 +944,7 @@ daemons or manipulated from other processes, making for example synchronised loa
 Timers and events
 ^^^^^^^^^^^^^^^^^
 
-The timer represents exactly the thing described in the examples - it allows you to execute closures 
+The timer represents exactly the thing described in the examples - it allows you to execute closures
 after specified time, or event recurrent events. Time is always described in milliseconds,
 but there are convenient variables that you can use - ``sec, minute, hour``.
 For example, ``5 * hour`` represents five hours, or 5*60*60*100 milliseconds.
@@ -966,14 +966,14 @@ For example, ``5 * hour`` represents five hours, or 5*60*60*100 milliseconds.
 
    :return: event id
 
-   Similar to :func:`event.after()`, periodically execute function after ``interval`` passes. 
+   Similar to :func:`event.after()`, periodically execute function after ``interval`` passes.
 
    Example:
 
    .. code-block:: lua
 
       msg_count = 0
-      event.recurrent(5 * sec, function(e) 
+      event.recurrent(5 * sec, function(e)
          msg_count = msg_count + 1
          print('Hi #'..msg_count)
       end)