mirror of
https://github.com/caddyserver/caddy.git
synced 2025-05-29 15:15:51 +08:00
cmd: Add --force flag to reload command (close #4005)
Can be useful if user wants to reload manual certificates, for example.
This commit is contained in:
@ -178,6 +178,7 @@ config file; otherwise the default is assumed.`,
|
||||
fs.String("config", "", "Configuration file (required)")
|
||||
fs.String("adapter", "", "Name of config adapter to apply")
|
||||
fs.String("address", "", "Address of the administration listener, if different from config")
|
||||
fs.Bool("force", false, "Force config reload, even if it is the same")
|
||||
return fs
|
||||
}(),
|
||||
})
|
||||
|
Reference in New Issue
Block a user