disable api pull in unattended mode too because there is no profile
This commit is contained in:
parent
40901c766f
commit
b81ba0ac49
1 changed files with 1 additions and 2 deletions
|
@ -457,9 +457,8 @@ main() {
|
||||||
|
|
||||||
if [[ ${SILENT} == "false" ]]; then
|
if [[ ${SILENT} == "false" ]]; then
|
||||||
(systemctl start crowdsec && log_info "crowdsec started") || log_err "unable to start crowdsec. exiting"
|
(systemctl start crowdsec && log_info "crowdsec started") || log_err "unable to start crowdsec. exiting"
|
||||||
fi;
|
|
||||||
|
|
||||||
${CSCLI_BIN_INSTALLED} api pull
|
${CSCLI_BIN_INSTALLED} api pull
|
||||||
|
fi;
|
||||||
# Set the cscli api pull cronjob
|
# Set the cscli api pull cronjob
|
||||||
setup_cron_pull
|
setup_cron_pull
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue