- Add cancellation context

- Other bug fixes
This commit is contained in:
Mukhtar Akere
2025-05-17 21:23:43 +01:00
parent 35a74d8dba
commit 109d0a0c1c
8 changed files with 91 additions and 60 deletions
+2 -1
View File
@@ -72,6 +72,7 @@ func Start(ctx context.Context) error {
// Reload configuration
config.Reload()
service.Reset()
// Start services again with new context
go func() {
@@ -123,7 +124,7 @@ func startServices(ctx context.Context) error {
fmt.Printf(asciiArt, version.GetInfo(), cfg.LogLevel)
svc := service.New()
svc := service.GetService()
_qbit := qbit.New()
_webdav := webdav.New()