Skip to content

Commit

Permalink
Fix exiting on llama-serve when user hits ^c
Browse files Browse the repository at this point in the history
Fixes: #753

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan committed Feb 11, 2025
1 parent 56ecf60 commit c71a148
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ramalama/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def setup_container(self, args):
"--env=HOME=/tmp",
"--cap-drop=all",
"--security-opt=no-new-privileges",
"--init",
]

if os.path.basename(args.engine) == "podman":
Expand Down

0 comments on commit c71a148

Please sign in to comment.