Fix documentation (#219)

* fix typo in documentation
This commit is contained in:
AlteredCoder 2020-09-13 15:56:04 +02:00 committed by GitHub
parent d431fe9f21
commit b270bfbcfe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 2 deletions

View file

@ -300,7 +300,7 @@ Adding `remediation: true` into the labels tells {{crowdsec.name}} that we shoul
Let's try :
- I copied the yaml file to a production system (`/etc/crowdsec/crowdsec/scenarios/mytest.yaml`)
- I copied the yaml file to a production system (`/etc/crowdsec/config/scenarios/mytest.yaml`)
- I restart {{crowdsec.name}} (`systemctl reload crowdsec`)
Let's check if it seems correctly enabled :

View file

@ -75,7 +75,7 @@ $ {{cli.bin}} ban list
### Create the whitelist by IP
Let's create a `/etc/crowdsec/crowdsec/parsers/s02-enrich/mywhitelists.yaml` file with the following content :
Let's create a `/etc/crowdsec/config/parsers/s02-enrich/mywhitelists.yaml` file with the following content :
```yaml
name: crowdsecurity/whitelists

View file

@ -288,6 +288,7 @@ install_crowdsec() {
mkdir -p "${CROWDSEC_DATA_DIR}"
(cd config && find patterns -type f -exec install -Dm 644 "{}" "${CROWDSEC_CONFIG_PATH}/{}" \; && cd ../) || exit
mkdir -p "${CROWDSEC_CONFIG_PATH}/scenarios" || exit
mkdir -p "${CROWDSEC_CONFIG_PATH}/parsers" || exit
mkdir -p "${CROWDSEC_CONFIG_PATH}/postoverflows" || exit
mkdir -p "${CROWDSEC_CONFIG_PATH}/collections" || exit
mkdir -p "${CROWDSEC_CONFIG_PATH}/patterns" || exit