Update setup.sh
This commit is contained in:
parent
a5410484d3
commit
c850a1a920
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue