update install-agent.sh to add beszel user to docker group

This commit is contained in:
Henry Dollman
2024-08-02 14:59:26 -04:00
parent 59cbaf3009
commit c9196def32

View File

@@ -78,6 +78,8 @@ else
echo "Creating a dedicated user for the Beszel Agent service..."
sudo useradd -M -s /bin/false beszel
fi
# Add the user to the docker group to allow access to the Docker socket
sudo usermod -aG docker beszel
# Create the directory for the Beszel Agent
if [ ! -d "/opt/beszel-agent" ]; then