Creating structure correctly

This commit is contained in:
Owen 2025-02-15 22:00:31 -05:00
parent 44cdea7ff8
commit f2a911fe2a
4 changed files with 35 additions and 21 deletions

View file

@ -24,8 +24,8 @@ func installCrowdsec(config Config) error {
os.Exit(1)
}
moveFile("config/crowdsec/traefik_config.yaml", "config/traefik/traefik_config.yaml")
moveFile("config/crowdsec/dynamic.yaml", "config/traefik/dynamic.yaml")
// moveFile("config/crowdsec/traefik_config.yml", "config/traefik/traefik_config.yml")
moveFile("config/crowdsec/dynamic.yml", "config/traefik/dynamic.yml")
if err := retrieveBouncerKey(config); err != nil {
return fmt.Errorf("bouncer key retrieval failed: %v", err)