From: Cyril Brulebois Date: Mon, 1 Mar 2021 14:11:36 +0000 (+0000) Subject: Adjust default config X-Git-Tag: archive/raspbian/1.4.6-3+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=84cb5270264da48bb6aa6504139b1f2d75ec5085;p=crowdsec.git Adjust default config Let's have all hub-related data under /var/lib/crowdsec/hub instead of the default /etc/crowdsec/hub directory. Also fix plugin directory. Also delete pid_dir, which would otherwise generate this at runtime: Deprecation warning: the pid_dir config can be safely removed and is not required Signed-off-by: Cyril Brulebois Gbp-Pq: Name 0005-adjust-config.patch --- diff --git a/config/config.yaml b/config/config.yaml index 47a6cff..9bb8a5c 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -1,6 +1,5 @@ common: daemonize: true - pid_dir: /var/run/ log_media: file log_level: info log_dir: /var/log/ @@ -12,10 +11,10 @@ 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 notification_dir: /etc/crowdsec/notifications/ - plugin_dir: /usr/local/lib/crowdsec/plugins/ + plugin_dir: /usr/lib/crowdsec/plugins/ crowdsec_service: acquisition_path: /etc/crowdsec/acquis.yaml acquisition_dir: /etc/crowdsec/acquis.d