1
0
mirror of https://github.com/pirate/ArchiveBox.git synced 2025-08-12 17:44:33 +02:00

Update setup.sh

This commit is contained in:
Nick Sweeting
2021-04-24 02:30:31 -04:00
committed by GitHub
parent a5410484d3
commit c850a1a920

View File

@@ -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