Adjust default config
authorCyril Brulebois <cyril@debamax.com>
Mon, 1 Mar 2021 14:11:36 +0000 (14:11 +0000)
committerCyril Brulebois <cyril@debamax.com>
Sat, 4 Dec 2021 04:03:33 +0000 (04:03 +0000)
Let's have all hub-related data under /var/lib/crowdsec/hub instead of
the default /etc/crowdsec/hub directory.

Signed-off-by: Cyril Brulebois <cyril@debamax.com>
Gbp-Pq: Name 0005-adjust-config.patch

config/config.yaml

index 73d89eab2e105eaf70030d93a6de0a2e58f702ca..6c4f4408ec3f69505bcca1060b987ba9b83ecdb4 100644 (file)
@@ -9,8 +9,8 @@ config_paths:
   config_dir: /etc/crowdsec/
   data_dir: /var/lib/crowdsec/data/
   simulation_path: /etc/crowdsec/simulation.yaml
-  hub_dir: /etc/crowdsec/hub/
-  index_path: /etc/crowdsec/hub/.index.json
+  hub_dir: /var/lib/crowdsec/hub/
+  index_path: /var/lib/crowdsec/hub/.index.json
 crowdsec_service:
   acquisition_path: /etc/crowdsec/acquis.yaml
   parser_routines: 1