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 <cyril@debamax.com>
Gbp-Pq: Name 0005-adjust-config.patch
common:
daemonize: true
- pid_dir: /var/run/
log_media: file
log_level: info
log_dir: /var/log/
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