aboutsummaryrefslogtreecommitdiff
path: root/net/crowdsec/patches/001-fix_config_data_dir.patch
blob: 4b1118dce09d0e2063bee83b2d7d9cf79091dac0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -8,7 +8,7 @@ common:
   log_max_files: 10
 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
@@ -25,7 +25,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: