From 6077bb4a558c719119cb9dd42f5930cbf732962b Mon Sep 17 00:00:00 2001 From: nicolargo Date: Sat, 1 Jun 2024 18:32:51 +0200 Subject: [BREAKING CHANGE in conf file] Secure call to AMPS, use && as commend separator instead of ; --- docs/aoa/amps.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'docs/aoa') 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 -- cgit v1.2.3