Add stopCmd for custom stopping instructions (#136)

Allow configuration of how a model is stopped before swapping. Setting `cmdStop` in the configuration will override the default behaviour and enables better integration with other process/container managers like docker or podman.
This commit is contained in:
Benson Wong
2025-05-16 13:48:42 -07:00
committed by GitHub
parent f9ee7156dc
commit a8b81f2799
7 changed files with 59 additions and 28 deletions

View File

@@ -38,5 +38,4 @@ func TestConfig_SanitizeCommand(t *testing.T) {
args, err = SanitizeCommand("")
assert.Error(t, err)
assert.Nil(t, args)
}