ollama/supervisord.conf
baalajimaestro 55ce7d9fc2
Make run model a oneshot service
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2024-07-01 18:36:49 +05:30

14 lines
210 B
Text

[supervisord]
nodaemon=true
[program:ollama]
command=/ollama/serve.sh
autostart=true
autorestart=true
[program:run_model]
command=/ollama/run_model.sh
autostart=true
autorestart=false
startsecs=0
exitcodes=0