Move user services to turnstile

This commit is contained in:
Fabio Scotto di Santolo
2026-04-14 14:12:30 +02:00
parent e74afc6087
commit 5e8a1b7bc2
10 changed files with 31 additions and 203 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/sh
set -eu
if [ -n "${TURNSTILE_ENV_DIR:-}" ]; then
exec chpst -e "$TURNSTILE_ENV_DIR" /usr/local/bin/ollama serve
fi
exec /usr/local/bin/ollama serve