Browse Source

:seedling: Add EnvVar

Ettore Di Giacinto 2 years ago
parent
commit
c763cc5044
1 changed files with 2 additions and 1 deletions
  1. 2 1
      cmd/api.go

+ 2 - 1
cmd/api.go

@@ -34,7 +34,8 @@ A simple UI interface is available to display network data.`,
 		UsageText: "edgevpn api",
 		Flags: append(CommonFlags,
 			&cli.BoolFlag{
-				Name: "enable-healthchecks",
+				Name:   "enable-healthchecks",
+				EnvVar: "ENABLE_HEALTHCHECKS",
 			},
 			&cli.BoolFlag{
 				Name: "debug",