Преглед на файлове

welcome message when installing packages (#2672)

* welcome message when installing packages
Manuel Sabban преди 1 година
родител
ревизия
052accd6bb
променени са 2 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 7 0
      debian/postinst
  2. 5 0
      rpm/SPECS/crowdsec.spec

+ 7 - 0
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'"

+ 5 - 0
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