Skip to content

Commit

Permalink
Update docker_start.sh (#2780)
Browse files Browse the repository at this point in the history
* Update docker_start.sh

* disable 'set -e' in docker entrypoint

---------

Co-authored-by: marco <marco@crowdsec.net>
  • Loading branch information
LaurenceJJones and mmetc committed Jan 24, 2024
1 parent 3f9e8e8 commit 2fb6f20
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker/docker_start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# shellcheck disable=SC2292 # allow [ test ] syntax
# shellcheck disable=SC2310 # allow "if function..." syntax with -e

set -e
# set -e
shopt -s inherit_errexit

# match true, TRUE, True, tRuE, etc.
Expand Down Expand Up @@ -302,9 +302,8 @@ conf_set_if "$PLUGIN_DIR" '.config_paths.plugin_dir = strenv(PLUGIN_DIR)'

## Install hub items
cscli hub update
cscli hub upgrade

cscli_if_clean collections upgrade crowdsecurity/linux
cscli_if_clean parsers upgrade crowdsecurity/whitelists
cscli_if_clean parsers install crowdsecurity/docker-logs
cscli_if_clean parsers install crowdsecurity/cri-logs

Expand Down

0 comments on commit 2fb6f20

Please sign in to comment.