Chore: Convert background service registry to dskit module (#64062)

* Chore: Add initial support for deployment modes

* revert CLI changes and start modules independently

* add modules to codeowners

* additional comments

* add Engine and Manager interface to fix test issues

* convert background service registry to dskit module

* remove extra context from serviceListener logger

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>

* Remove whitespace

* fix import

* undo ide changes

* only register All by default

* with registry

* add test

* add comments

* re-add debug log

* fix import

* reorganize arg

* undo kind changes

* add provide service test

* fix import

* rejig systemd calls

* update codeowners

---------

Co-authored-by: Todd Treece <todd.treece@grafana.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
This commit is contained in:
Will Browne
2023-07-06 14:45:47 +02:00
committed by GitHub
co-authored by Todd Treece Todd Treece
parent 76974009d0
commit 4818568c65
15 changed files with 287 additions and 190 deletions
+1 -1
View File
@@ -248,7 +248,7 @@ func RunServer(opt ServerOptions) error {
go listenToSystemSignals(ctx, s)
return s.Run()
return s.Run(ctx)
}
func validPackaging(packaging string) string {