summaryrefslogtreecommitdiffstats
path: root/docker-compose
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 /docker-compose
parent5ad9e896583fc32945ddf17c643cbe99cf80610b (diff)
[BREAKING CHANGE in conf file] Secure call to AMPS, use && as commend separator instead of ;
Diffstat (limited to 'docker-compose')
-rwxr-xr-xdocker-compose/glances.conf4
1 files changed, 2 insertions, 2 deletions
diff --git a/docker-compose/glances.conf b/docker-compose/glances.conf
index 67e982fd..792a155d 100755
--- a/docker-compose/glances.conf
+++ b/docker-compose/glances.conf
@@ -786,13 +786,13 @@ refresh=3
countmax=20
[amp_conntrack]
-# Use comma separated for multiple commands (no space around the comma)
+# Use && separator for multiple commands
# If the regex key is not defined, the AMP will be executed every refresh second
# and the process count will not be displayed (countmin and countmax will be ignore)
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
[amp_nginx]
# Use the NGinx AMP