summaryrefslogtreecommitdiff
path: root/internal/commands/services.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/commands/services.go')
-rw-r--r--internal/commands/services.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/commands/services.go b/internal/commands/services.go
index 332a29357..18598b488 100644
--- a/internal/commands/services.go
+++ b/internal/commands/services.go
@@ -447,6 +447,10 @@ func servicesRun(ctx ServiceCtx) {
var err error
+ if err = ctx.GetProviders().UserProvider.Shutdown(); err != nil {
+ ctx.GetLogger().WithError(err).Error("Error occurred closing authentication connections")
+ }
+
if err = ctx.GetProviders().StorageProvider.Close(); err != nil {
ctx.GetLogger().WithError(err).Error("Error occurred closing database connections")
}