Skip to content

Commit

Permalink
Add TimeoutStartSec=infinity to QUADLET.image file
Browse files Browse the repository at this point in the history
Also share the same image file between all of the recipes.

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Apr 10, 2024
1 parent a6b837c commit a7e14e2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 29 deletions.
1 change: 1 addition & 0 deletions recipes/common/Makefile.common
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ quadlet:
-e "s|APP_IMAGE|${APP_IMAGE}|g" \
-e "s|MODEL_IMAGE|${MODEL_IMAGE}|g" \
-e "s|CHROMADB_IMAGE|${CHROMADB_IMAGE}|g" \
-e "s|APP|${APP}|g" \
quadlet/${APP}.image \
> build/${APP}.image
sed -e "s|SERVER_IMAGE|${SERVER_IMAGE}|" \
Expand Down
10 changes: 10 additions & 0 deletions recipes/common/quadlet/app.image
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Install]
WantedBy=APP.service

[Service]
TimeoutStartSec=infinity

[Image]
Image=APP_IMAGE
Image=MODEL_IMAGE
Image=SERVER_IMAGE

This file was deleted.

This file was deleted.

7 changes: 0 additions & 7 deletions recipes/natural_language_processing/rag/quadlet/rag.image

This file was deleted.

1 change: 1 addition & 0 deletions recipes/natural_language_processing/rag/quadlet/rag.image

This file was deleted.

0 comments on commit a7e14e2

Please sign in to comment.