disable api pull in unattended mode too because there is no profile

This commit is contained in:
erenJag 2020-06-02 14:25:34 +02:00
parent 40901c766f
commit b81ba0ac49

View file

@ -457,9 +457,8 @@ main() {
if [[ ${SILENT} == "false" ]]; then
(systemctl start crowdsec && log_info "crowdsec started") || log_err "unable to start crowdsec. exiting"
${CSCLI_BIN_INSTALLED} api pull
fi;
${CSCLI_BIN_INSTALLED} api pull
# Set the cscli api pull cronjob
setup_cron_pull