Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cjlapao committed Jul 15, 2024
1 parent d9ff71e commit 50a71ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai/install_ollama.sh
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function check_for_ollama {
function setup_service {
echo "Enabling Ollama API"
sudo systemctl stop ollama
sed -i '/^Environment=/a Environment="OLLAMA_HOST=0.0.0.0"' /etc/systemd/system/ollama.service
sudo sed -i '/^Environment=/a Environment="OLLAMA_HOST=0.0.0.0"' /etc/systemd/system/ollama.service
# sed -i '/^Environment=/a Environment="OLLAMA_MODELS=/mnt/ollama_models"' /etc/systemd/system/ollama.service
sudo systemctl daemon-reload
sudo systemctl start ollama
Expand Down

0 comments on commit 50a71ca

Please sign in to comment.