mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-02-07 22:25:57 +00:00
config: Allow overrides from the command line
This patch allows the configuration values to be overridden from the command-line, with a new -config_overrides flag. There is a fairly specific use case for this, when editing the configuration file is not feasible or convenient (e.g. running an user-supplied configuration in a managed environment).
This commit is contained in:
@@ -22,6 +22,12 @@ It's written in Go, and distributed under the Apache license 2.0.
|
||||
|
||||
configuration directory (default F</etc/chasquid>)
|
||||
|
||||
=item B<-config_overrides> I<config>
|
||||
|
||||
configuration values (in text protobuf format) to override the on-disk
|
||||
configuration with. This should only be needed in very specific cases for
|
||||
deployments where editing the configuration file is not feasible.
|
||||
|
||||
=item B<-alsologtostderr>
|
||||
|
||||
also log to stderr, in addition to the file
|
||||
|
||||
Reference in New Issue
Block a user