This commit is contained in:
Ramiro Paz
2026-03-12 12:31:05 -03:00
parent 0424e2ed79
commit ac285e662b
3 changed files with 18 additions and 10 deletions

View File

@ -178,6 +178,11 @@ func parseLogLevel(level string) (slog.Level, error) {
func startRunner(runner, globalCfg, serviceCfg string) {
var fn func(cfg app.Config) error
if runner == "" {
runner = "service"
}
switch runner {
case "service":
fn = service.Runner