Skip to content

Commit

Permalink
register api as well in --bininstall (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
buixor committed Jun 16, 2020
1 parent d6987ae commit bb60d29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wizard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,9 @@ main() {
fi
log_info "installing crowdsec"
install_crowdsec
# api register
${CSCLI_BIN_INSTALLED} api register >> /etc/crowdsec/config/api.yaml || ${CSCLI_BIN_INSTALLED} api reset >> /etc/crowdsec/config/api.yaml || log_err "unable to register, skipping crowdsec api registration"
log_info "Crowdsec api registered"
return
fi

Expand Down

0 comments on commit bb60d29

Please sign in to comment.