mirror of
https://github.com/crowdsecurity/crowdsec.git
synced 2025-05-11 12:25:53 +02:00
allow Makefile to override /etc/crowdsec and /var/lib/crowdsec/data (#1221)
This commit is contained in:
parent
9c9639d19b
commit
35eea39db7
10 changed files with 53 additions and 28 deletions
|
@ -123,7 +123,7 @@ func (c *Config) LoadAPIServer() error {
|
|||
return errors.Wrap(err, "while loading profiles for LAPI")
|
||||
}
|
||||
if c.API.Server.ConsoleConfigPath == "" {
|
||||
c.API.Server.ConsoleConfigPath = DefaultConsoleConfgFilePath
|
||||
c.API.Server.ConsoleConfigPath = DefaultConsoleConfigFilePath
|
||||
}
|
||||
if err := c.API.Server.LoadConsoleConfig(); err != nil {
|
||||
return errors.Wrap(err, "while loading console options")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue