Skip to content

Commit

Permalink
copy debian behavior for now (#2655)
Browse files Browse the repository at this point in the history
  • Loading branch information
sabban authored Dec 12, 2023
1 parent b1c9717 commit 6eabb46
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpm/SPECS/crowdsec.spec
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,11 @@ if [ $1 == 1 ]; then
set +e
fi
if [ ! -f "%{_sysconfdir}/crowdsec/online_api_credentials.yaml" ] ; then
install -m 600 /dev/null /etc/crowdsec/online_api_credentials.yaml
cscli capi register
fi
if [ ! -f "%{_sysconfdir}/crowdsec/local_api_credentials.yaml" ] ; then
install -m 600 /dev/null /etc/crowdsec/local_api_credentials.yaml
cscli machines add -a --force
fi

Expand Down

0 comments on commit 6eabb46

Please sign in to comment.