Nick Sweeting 4 anni fa
parent
commit
c850a1a920
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      bin/setup.sh

+ 3 - 0
bin/setup.sh

@@ -9,6 +9,9 @@ if [ $(id -u) -eq 0 ]; then
     echo ""
     echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability."
     echo "    (create a new non-privileged user 'archivebox' if necessary, then re-run the script as that user)"
+    echo "    adduser archivebox"
+    echo "    usermod -a archivebox -G sudo     # (on Ubuntu/Debian)"
+    exit 2
 fi
 
 if (which docker-compose > /dev/null && docker pull archivebox/archivebox:latest); then