diff options
author | CoprDistGit <infra@openeuler.org> | 2024-10-23 06:18:20 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-10-23 06:18:20 +0000 |
commit | 758658fe242d0b324325185e1ce7fc5a5048f75f (patch) | |
tree | 7eefd16d7614a04ceb64f8b5238c998ffd53216f /ollama.service | |
parent | 6fac9160f0b5a9d6fc623c54067c5d35997beb34 (diff) |
automatic import of ollamaopeneuler24.09
Diffstat (limited to 'ollama.service')
-rw-r--r-- | ollama.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ollama.service b/ollama.service new file mode 100644 index 0000000..ecbf34f --- /dev/null +++ b/ollama.service @@ -0,0 +1,14 @@ +[Unit] +Description=Ollama Service +After=network-online.target +Wants=ollama-ui.service + +[Service] +ExecStart=/usr/bin/ollama serve +User=ollama +Group=ollama +Restart=always +RestartSec=3 + +[Install] +WantedBy=default.target |