diff options
Diffstat (limited to 'ollama.service')
-rw-r--r-- | ollama.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/ollama.service b/ollama.service new file mode 100644 index 0000000..5ddc9b1 --- /dev/null +++ b/ollama.service @@ -0,0 +1,13 @@ +[Unit] +Description=Ollama Service +After=network-online.target + +[Service] +ExecStart=/usr/bin/ollama serve +User=ollama +Group=ollama +Restart=always +RestartSec=3 + +[Install] +WantedBy=default.target |