Skip to content

Commit

Permalink
welcome message when installing packages (#2672)
Browse files Browse the repository at this point in the history
* welcome message when installing packages
  • Loading branch information
sabban authored Dec 20, 2023
1 parent 240f057 commit 052accd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
7 changes: 7 additions & 0 deletions debian/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,13 @@ if [ "$1" = configure ]; then
echo "Not attempting to start crowdsec, port ${PORT} is already used or lapi was disabled"
echo "This port is configured through /etc/crowdsec/config.yaml and /etc/crowdsec/local_api_credentials.yaml"
fi

echo "Get started with CrowdSec:"
echo " * Detailed guides are available in our documentation: https://docs.crowdsec.net"
echo " * Configuration items created by the community can be found at the Hub: https://hub.crowdsec.net"
echo " * Gain insights into your use of CrowdSec with the help of the console https://app.crowdsec.net"


fi

echo "You can always run the configuration again interactively by using '/usr/share/crowdsec/wizard.sh -c'"
5 changes: 5 additions & 0 deletions rpm/SPECS/crowdsec.spec
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ if [ $1 == 1 ]; then
cscli hub update
CSCLI_BIN_INSTALLED="/usr/bin/cscli" SILENT=true install_collection

echo "Get started with CrowdSec:"
echo " * Detailed guides are available in our documentation: https://docs.crowdsec.net"
echo " * Configuration items created by the community can be found at the Hub: https://hub.crowdsec.net"
echo " * Gain insights into your use of CrowdSec with the help of the console https://app.crowdsec.net"

#upgrade
elif [ $1 == 2 ] && [ -d /var/lib/crowdsec/backup ]; then
cscli config restore /var/lib/crowdsec/backup
Expand Down

0 comments on commit 052accd

Please sign in to comment.