zeroclaw, add environment variable.

This commit is contained in:
me
2026-10-06 15:43:41 -07:00
parent ddfa5d5d81
commit 1d7374e3ad
@@ -68,6 +68,7 @@
- "echo '#!/bin/sh -e' > {{ ollama_runit_start }}" - "echo '#!/bin/sh -e' > {{ ollama_runit_start }}"
- "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}" - "echo '# Allow pulling LLMs for use with ZeroClaw.'>> {{ ollama_runit_start }}"
- "echo 'exec 2>&1' >> {{ ollama_runit_start }}" - "echo 'exec 2>&1' >> {{ ollama_runit_start }}"
- "echo 'export OLLAMA_MAX_LOADED_MODELS=1' >> {{ ollama_runit_start }}"
- "echo 'exec chpst -u {{ user }} ollama serve' >> {{ ollama_runit_start }}" - "echo 'exec chpst -u {{ user }} ollama serve' >> {{ ollama_runit_start }}"
- "chmod +x {{ ollama_runit_start }}" - "chmod +x {{ ollama_runit_start }}"
register: shell_check register: shell_check