welcome message when installing packages (#2672)
* welcome message when installing packages
This commit is contained in:
parent
240f057f95
commit
052accd6bb
2 changed files with 12 additions and 0 deletions
7
debian/postinst
vendored
7
debian/postinst
vendored
|
@ -102,6 +102,13 @@ if [ "$1" = configure ]; then
|
||||||
echo "Not attempting to start crowdsec, port ${PORT} is already used or lapi was disabled"
|
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"
|
echo "This port is configured through /etc/crowdsec/config.yaml and /etc/crowdsec/local_api_credentials.yaml"
|
||||||
fi
|
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
|
fi
|
||||||
|
|
||||||
echo "You can always run the configuration again interactively by using '/usr/share/crowdsec/wizard.sh -c'"
|
echo "You can always run the configuration again interactively by using '/usr/share/crowdsec/wizard.sh -c'"
|
||||||
|
|
|
@ -179,6 +179,11 @@ if [ $1 == 1 ]; then
|
||||||
cscli hub update
|
cscli hub update
|
||||||
CSCLI_BIN_INSTALLED="/usr/bin/cscli" SILENT=true install_collection
|
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
|
#upgrade
|
||||||
elif [ $1 == 2 ] && [ -d /var/lib/crowdsec/backup ]; then
|
elif [ $1 == 2 ] && [ -d /var/lib/crowdsec/backup ]; then
|
||||||
cscli config restore /var/lib/crowdsec/backup
|
cscli config restore /var/lib/crowdsec/backup
|
||||||
|
|
Loading…
Reference in a new issue