packages/net/crowdsec/patches/001-fix_config_data_dir.patch
Kerma Gérald 8903d1b7ca crowdsec: initial package v1.2.0
/net/crowdsec/

Crowdsec - An open-source, lightweight agent to detect
 and respond to bad behaviours.
 It also automatically benefits from a global community-wide
 IP reputation database.

Signed-off-by: Kerma Gérald <gandalf@gk2.net>
2021-10-09 11:53:18 +02:00

20 lines
533 B
Diff

--- a/config/config.yaml
+++ b/config/config.yaml
@@ -7,7 +7,7 @@ common:
working_dir: .
config_paths:
config_dir: /etc/crowdsec/
- data_dir: /var/lib/crowdsec/data/
+ data_dir: /srv/crowdsec/data/
simulation_path: /etc/crowdsec/simulation.yaml
hub_dir: /etc/crowdsec/hub/
index_path: /etc/crowdsec/hub/.index.json
@@ -21,7 +21,7 @@ cscli:
db_config:
log_level: info
type: sqlite
- db_path: /var/lib/crowdsec/data/crowdsec.db
+ db_path: /srv/crowdsec/data/crowdsec.db
#user:
#password:
#db_name: