Skip to content

Commit

Permalink
Enable watchdog for all channels (#1460)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaMahany authored Nov 15, 2023
1 parent 5b9a7f4 commit aa0eb5c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmd/launcher/extension.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,9 +194,6 @@ func commonRunnerOptions(logger log.Logger, k types.Knapsack) []runtime.OsqueryI
kolidelog.WithKeyValue("osqlevel", "stdout"),
)

// Only enable watchdog internally for now
enableWatchdog := k.UpdateChannel() == "nightly" || k.UpdateChannel() == "beta"

return []runtime.OsqueryInstanceOption{
runtime.WithKnapsack(k),
runtime.WithOsquerydBinary(k.OsquerydPath()),
Expand All @@ -211,7 +208,7 @@ func commonRunnerOptions(logger log.Logger, k types.Knapsack) []runtime.OsqueryI
runtime.WithAutoloadedExtensions(k.AutoloadedExtensions()...),
runtime.WithUpdateDirectory(k.UpdateDirectory()),
runtime.WithUpdateChannel(k.UpdateChannel()),
runtime.WithEnableWatchdog(enableWatchdog),
runtime.WithEnableWatchdog(true),
}
}

Expand Down

0 comments on commit aa0eb5c

Please sign in to comment.