diff options
author | Gaspard d'Hautefeuille <github@dhautefeuille.eu> | 2020-06-22 20:35:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-22 20:35:45 +0100 |
commit | 09cfa64596004cdd637dc96f30aef6648ddd68ec (patch) | |
tree | 6a745b0a43a7f88c2da79ebe3bcdff4d2a9aa686 | |
parent | 4d032cf7982fc56d436cc89a1e089867668429bf (diff) |
pystache requirement to render the mustache syntax
-rw-r--r-- | docs/aoa/actions.rst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/aoa/actions.rst b/docs/aoa/actions.rst index d52ba2ab..448d4fea 100644 --- a/docs/aoa/actions.rst +++ b/docs/aoa/actions.rst @@ -16,7 +16,9 @@ then add the ``_action`` line to the Glances configuration file: critical_action=python /path/to/foo.py All the stats are available in the command line through the use of the -`{{mustache}}`_ syntax. Another example would be to create a log file +`{{mustache}}`_ syntax. `Pystache`_ is required to render the mustache's template syntax. + +Another example would be to create a log file containing used vs total disk space if a space trigger warning is reached: @@ -72,3 +74,4 @@ use with caution: critical_action_repeat=/home/myhome/bin/bipper.sh .. _{{mustache}}: https://mustache.github.io/ +.. _Pystache: https://github.com/defunkt/pystache |