From 2fd7c61acb374f351ca79530549822179baad77e Mon Sep 17 00:00:00 2001 From: Daniel Date: Fri, 23 Aug 2024 10:18:33 +0200 Subject: [PATCH] Fix and improve start order --- service/instance.go | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/service/instance.go b/service/instance.go index d55dccd8b..8eab70eb4 100644 --- a/service/instance.go +++ b/service/instance.go @@ -265,34 +265,35 @@ func New(svcCfg *ServiceConfig) (*Instance, error) { //nolint:maintidx // Add all modules to instance group. instance.serviceGroup = mgr.NewGroup( instance.base, + instance.rng, instance.database, instance.config, instance.api, instance.metrics, instance.runtime, instance.notifications, - instance.rng, instance.core, instance.updates, instance.geoip, instance.netenv, - instance.ui, + instance.process, instance.profile, - instance.netquery, instance.network, + instance.netquery, instance.firewall, + instance.nameserver, + instance.resolver, instance.filterLists, - instance.interception, instance.customlist, + instance.interception, + + instance.compat, instance.status, instance.broadcasts, - instance.compat, - instance.nameserver, - instance.process, - instance.resolver, instance.sync, + instance.ui, instance.access, )