From 052accd6bb6d2b42a13bc4436ac8be066ca8345c Mon Sep 17 00:00:00 2001 From: Manuel Sabban Date: Wed, 20 Dec 2023 09:44:10 +0100 Subject: [PATCH] welcome message when installing packages (#2672) * welcome message when installing packages --- debian/postinst | 7 +++++++ rpm/SPECS/crowdsec.spec | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/debian/postinst b/debian/postinst index 98c7cabab..b4506fdcb 100644 --- a/debian/postinst +++ b/debian/postinst @@ -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'" diff --git a/rpm/SPECS/crowdsec.spec b/rpm/SPECS/crowdsec.spec index 7e570b906..2f02ab996 100644 --- a/rpm/SPECS/crowdsec.spec +++ b/rpm/SPECS/crowdsec.spec @@ -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