@@ -41,11 +41,11 @@ It is configured entirely by environment variables. Arguments or flags are not u
4141The following environment variables are recognized by the Docker entrypoint:
4242* PMM_AGENT_SETUP - if true, 'pmm-agent setup' is called before 'pmm-agent run'.
4343* PMM_AGENT_PRERUN_FILE - if non-empty, runs given file with 'pmm-agent run' running in the background.
44- * PMM_AGENT_PRERUN_SCRIPT - if non-empty, runs given shell script content with 'pmm-agent run' running in the background.
45- * PMM_AGENT_SIDECAR - if true, 'pmm-agent' will be restarted in case of it's failed .
44+ * PMM_AGENT_PRERUN_SCRIPT - if non-empty, runs given shell script with 'pmm-agent run' running in the background.
45+ * PMM_AGENT_SIDECAR - if true, 'pmm-agent' will be restarted in case it fails .
4646* PMM_AGENT_SIDECAR_SLEEP - time to wait before restarting pmm-agent if PMM_AGENT_SIDECAR is true. 1 second by default.
4747
48- Additionally, the many environment variables are recognized by pmm-agent itself.
48+ Additionally, many environment variables are recognized by pmm-agent itself.
4949The following help text shows them as [PMM_AGENT_XXX].
5050`
5151
@@ -61,13 +61,13 @@ var (
6161 pmmAgentSetup = kingpin .Flag ("pmm-agent-setup" ,
6262 "if true, 'pmm-agent setup' is called before 'pmm-agent run'" ).Default ("false" ).Envar ("PMM_AGENT_SETUP" ).Bool ()
6363 pmmAgentSidecar = kingpin .Flag ("pmm-agent-sidecar" ,
64- "if true, 'pmm-agent' will be restarted in case of it's failed " ).Default ("false" ).Envar ("PMM_AGENT_SIDECAR" ).Bool ()
64+ "if true, 'pmm-agent' will be restarted in case it fails " ).Default ("false" ).Envar ("PMM_AGENT_SIDECAR" ).Bool ()
6565 pmmAgentSidecarSleep = kingpin .Flag ("pmm-agent-sidecar-sleep" ,
6666 "time to wait before restarting pmm-agent if PMM_AGENT_SIDECAR is true. 1 second by default" ).Default ("1" ).Envar ("PMM_AGENT_SIDECAR_SLEEP" ).Int ()
6767 pmmAgentPrerunFile = kingpin .Flag ("pmm-agent-prerun-file" ,
6868 "if non-empty, runs given file with 'pmm-agent run' running in the background" ).Envar ("PMM_AGENT_PRERUN_FILE" ).String ()
6969 pmmAgentPrerunScript = kingpin .Flag ("pmm-agent-prerun-script" ,
70- "if non-empty, runs given shell script content with 'pmm-agent run' running in the background" ).Envar ("PMM_AGENT_PRERUN_SCRIPT" ).String ()
70+ "if non-empty, runs given shell script with 'pmm-agent run' running in the background" ).Envar ("PMM_AGENT_PRERUN_SCRIPT" ).String ()
7171)
7272
7373var pmmAgentProcessID = 0
0 commit comments