mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
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 ""
|
||||||
echo "[X] You cannot run this script as root. You must run it as a non-root user with sudo ability."
|
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 " (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
|
fi
|
||||||
|
|
||||||
if (which docker-compose > /dev/null && docker pull archivebox/archivebox:latest); then
|
if (which docker-compose > /dev/null && docker pull archivebox/archivebox:latest); then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue