diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-23 13:15:12 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-23 13:15:12 +0000 |
commit | 8a107d4d2804f59a49d994f9b8095184736a7c7c (patch) | |
tree | de5770e899e27915bd8ed92c8ae894a18c713fcb /ollama.service | |
parent | b90f6a086168dd4ca2229c71a43bf9f4500cac9e (diff) |
automatic import of ollama
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 |