Update setup_service.sh

This commit is contained in:
Saifeddine ALOUI
2025-06-23 15:09:04 +02:00
committed by GitHub
parent bbc343a8e1
commit c4c0de3f4d

View File

@@ -18,7 +18,7 @@ echo "Setting up Ollama Proxy Server..."
# Create dedicated user if it doesn't exist already
if ! id "$USER" &>/dev/null; then
echo "Creating user $USER..."
sudo useradd -r -s /bin/false "/home/$USER"
sudo useradd -r -s /bin/false "$USER"
fi
# Ensure the working directory is writable by the dedicated user