fix lib path

This commit is contained in:
erenJag 2020-05-27 17:35:35 +02:00 committed by Farica
parent 19d6a979c8
commit 04ff874eb5
3 changed files with 3 additions and 3 deletions

View file

@ -1,5 +1,5 @@
name: sqlite
path: /usr/local/crowdsec/plugins/backend/sqlite.so
path: /usr/local/lib/crowdsec/plugins/backend/sqlite.so
config:
db_path: /var/lib/crowdsec/data/crowdsec.db
flush: true

View file

@ -62,7 +62,7 @@ config: <plugin_config> # in a form of key(string)/value(string)
For the plugin sqlite, here is its configuration file:
```yaml
name: sqlite
path: /usr/local/crowdsec/plugins/backend/sqlite.so
path: /usr/local/lib/crowdsec/plugins/backend/sqlite.so
config:
db_path: /var/lib/crowdsec/data/crowdsec.db
flush: true

View file

@ -14,7 +14,7 @@ SILENT="false"
CROWDSEC_RUN_DIR="/var/run"
CROWDSEC_LIB_DIR="/var/lib/crowdsec"
CROWDSEC_USR_DIR="/usr/local/crowdsec"
CROWDSEC_USR_DIR="/usr/local/lib/crowdsec"
CROWDSEC_DATA_DIR="${CROWDSEC_LIB_DIR}/data"
CROWDSEC_PLUGIN_DIR="${CROWDSEC_USR_DIR}/plugins"
CROWDSEC_PLUGIN_BACKEND_DIR="${CROWDSEC_PLUGIN_DIR}/backend"