openwrt-packages/net/crowdsec/patches/001-fix_config_data_dir.patch

21 lines
544 B
Diff

--- a/config/config.yaml
+++ b/config/config.yaml
@@ -9,7 +9,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
@@ -26,7 +26,7 @@ cscli:
db_config:
log_level: info
type: sqlite
- db_path: /var/lib/crowdsec/data/crowdsec.db
+ db_path: /srv/crowdsec/data/crowdsec.db
#max_open_conns: 100
#user:
#password: