Skip to content

Commit 7499a92

Browse files
committed
systemd: remake the production ollama model for chatbots online
1 parent 741b2fd commit 7499a92

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ versioning is done in a continuous fashion without worries of breaking changes.
66

77
## patches
88

9+
- `systemd`: remake the production ollama model for chatbots online 2025-03-23
910
- `systemd`: remove packages from path that are used for exec start 2025-03-23
1011
- `systemd`: pull latest changes of sandbox applications on updates 2025-03-22
1112
- `nvim`: jump to diagnostic information if code raises the warning 2025-03-22

machines/tom/systemd/services/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
serviceConfig = {
7373
EnvironmentFile = /home/ez/productions/slack/sandbox/py.bolt.snaek/.env.production;
7474
ExecStart = "${pkgs.nix}/bin/nix develop --command bash -c \"python3 app.py\"";
75+
ExecStartPre = "${pkgs.ollama}/bin/ollama create snaek --file models/Modelfile";
7576
Restart = "always";
7677
RestartSec = 2;
7778
WorkingDirectory = /home/ez/productions/slack/sandbox/py.bolt.snaek;

0 commit comments

Comments
 (0)