Commit e5598f3
committed
fix: drop Requires=ollama.service from mios-ollama-firstboot.service
The bootstrap's overlay-seed step iterates Quadlets alphabetically
when running `enable --now <unit>`, so mios-ollama-firstboot.service
fires BEFORE ollama.service in the same pass. With Requires=ollama.
service the firstboot unit failed-fast on dependency-failed:
[21:34:32] enable --now mios-ollama-firstboot.service
[21:34:32] A dependency job for mios-ollama-firstboot.service failed.
[21:34:39] start ollama.service # 7s LATER
The unit's own ExecStart already polls `podman exec mios-ollama
ollama list` for 50s and gracefully drops the sentinel even when
ollama never comes up, so Wants= alone is sufficient -- the
dependency-failed cascade was strictly downside.
Keep After=ollama.service so when both ARE in the same boot/start
batch systemd still serializes them in the right order.1 parent 5dc7fe2 commit e5598f3
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
0 commit comments