Skip to content

Commit

Permalink
add msg when no generating api key
Browse files Browse the repository at this point in the history
  • Loading branch information
AlteredCoder committed Jun 20, 2022
1 parent 004b441 commit 3b6971d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ if [ "$1" = "configure" ]; then
cp /etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml ${TMP}
API_KEY=${API_KEY} envsubst < ${TMP} > /etc/crowdsec/bouncers/crowdsec-cloudflare-bouncer.yaml
rm ${TMP}
else
echo "Not generating API key because already present"
fi
fi
else
Expand Down

0 comments on commit 3b6971d

Please sign in to comment.