summaryrefslogtreecommitdiff
path: root/cmd/authelia-scripts/cmd_serve.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/authelia-scripts/cmd_serve.go')
-rw-r--r--cmd/authelia-scripts/cmd_serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/authelia-scripts/cmd_serve.go b/cmd/authelia-scripts/cmd_serve.go
index ed7917a43..6c4ae8fa4 100644
--- a/cmd/authelia-scripts/cmd_serve.go
+++ b/cmd/authelia-scripts/cmd_serve.go
@@ -11,7 +11,7 @@ import (
// ServeCmd serve authelia with the provided configuration
func ServeCmd(cobraCmd *cobra.Command, args []string) {
log.Infof("Running Authelia with config %s...", args[0])
- cmd := utils.CommandWithStdout(OutputDir+"/authelia", "-config", args[0])
+ cmd := utils.CommandWithStdout(OutputDir+"/authelia", "--config", args[0])
cmd.Env = append(os.Environ(), "PUBLIC_DIR=dist/public_html")
utils.RunCommandUntilCtrlC(cmd)
}