From de3b09d6ac10405b72dfefdfe750a92d8eea30f6 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 28 Nov 2019 21:41:53 +0100 Subject: Refactor "code-block:: console" to "code-block:: none" --- docs/system/eventhandler.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/system/eventhandler.rst') diff --git a/docs/system/eventhandler.rst b/docs/system/eventhandler.rst index 31f05f2c..4421e79c 100644 --- a/docs/system/eventhandler.rst +++ b/docs/system/eventhandler.rst @@ -7,7 +7,7 @@ Event handler allows you to execute scripts when a string that matches a regex a It uses "feeds" (output of commands, or a named pipes) and "policies" that define what to execute if a regex is matched. -.. code-block:: console +.. code-block:: none system event-handler @@ -29,7 +29,7 @@ It uses "feeds" (output of commands, or a named pipes) and "policies" that defin In this small example a script runs every time a login failed and an interface goes down -.. code-block:: console +.. code-block:: none vyos@vyos# show system event-handler feed Syslog { -- cgit v1.2.3