summaryrefslogtreecommitdiff
path: root/docs/system/eventhandler.rst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-11-28 21:26:03 +0100
committerChristian Poessinger <christian@poessinger.com>2019-11-28 21:26:14 +0100
commita71cdcec33caaeb9e9667d66e8248de1a47122a8 (patch)
tree337f7e40535f675f4319db39f3d3ca6ac31a8406 /docs/system/eventhandler.rst
parentc4eaab5a8a3785a84cdcb09ce56757344d1647d0 (diff)
downloadvyos-documentation-a71cdcec33caaeb9e9667d66e8248de1a47122a8.tar.gz
vyos-documentation-a71cdcec33caaeb9e9667d66e8248de1a47122a8.zip
docs: remove all trailing whitespaces
Done via: $ find . -name "*.rst" | xargs sed -i 's/[ \t]*$//'
Diffstat (limited to 'docs/system/eventhandler.rst')
-rw-r--r--docs/system/eventhandler.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/system/eventhandler.rst b/docs/system/eventhandler.rst
index 31f05f2c..6496c556 100644
--- a/docs/system/eventhandler.rst
+++ b/docs/system/eventhandler.rst
@@ -31,7 +31,7 @@ In this small example a script runs every time a login failed and an interface g
.. code-block:: console
- vyos@vyos# show system event-handler
+ vyos@vyos# show system event-handler
feed Syslog {
policy MyPolicy
source {
@@ -43,6 +43,6 @@ In this small example a script runs every time a login failed and an interface g
event BadThingsHappened {
pattern "authentication failure"
pattern "interface \.* index \d+ .* DOWN.*"
- run /config/scripts/email-to-admin
+ run /config/scripts/email-to-admin
}
} \ No newline at end of file