summaryrefslogtreecommitdiffstats
path: root/docs/aoa
diff options
context:
space:
mode:
authornicolargo <nicolashennion@gmail.com>2024-06-01 18:32:51 +0200
committernicolargo <nicolashennion@gmail.com>2024-06-01 18:32:51 +0200
commit6077bb4a558c719119cb9dd42f5930cbf732962b (patch)
treea645a3aa4a0227143897768b2b2431c4808eb2bd /docs/aoa
parent5ad9e896583fc32945ddf17c643cbe99cf80610b (diff)
[BREAKING CHANGE in conf file] Secure call to AMPS, use && as commend separator instead of ;
Diffstat (limited to 'docs/aoa')
-rw-r--r--docs/aoa/amps.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/aoa/amps.rst b/docs/aoa/amps.rst
index be1d2f02..83f03c65 100644
--- a/docs/aoa/amps.rst
+++ b/docs/aoa/amps.rst
@@ -61,9 +61,11 @@ For example:
enable=false
refresh=30
one_line=false
- command=sysctl net.netfilter.nf_conntrack_count;sysctl net.netfilter.nf_conntrack_max
+ command=sysctl net.netfilter.nf_conntrack_count && sysctl net.netfilter.nf_conntrack_max
-For security reason, pipe is not directly allowed in a AMP command but you create a sheel
+Note: for multiple command, please use the '&&'' separator.
+
+For security reason, pipe is not directly allowed in a AMP command but you create a shell
script with your command:
.. code-block:: ini