diff --git a/crowdsec/rootfs/etc/services.d/crowdsec/run b/crowdsec/rootfs/etc/services.d/crowdsec/run index 3599b77..5e43219 100755 --- a/crowdsec/rootfs/etc/services.d/crowdsec/run +++ b/crowdsec/rootfs/etc/services.d/crowdsec/run @@ -143,4 +143,8 @@ if [[ ! -z "${scenarios_to_disable}" ]]; then export DISABLE_SCENARIOS="${DISABLE_SCENARIOS}" fi +# In Home Assistant, the user does not have control over the volumes (it's managed by the add-on) +# And crowdsec is using not default paths, which breaks the check done in the entrypoint +export CROWDSEC_BYPASS_DB_VOLUME_CHECK=true + exec bash /docker_start.sh