feat: sync FileBrowser config on startup
Ensures config.yaml and docker-compose.yml are regenerated on controller startup, so new drives added while the controller was down still get their FileBrowser sources configured. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -73,6 +73,9 @@ func NewServer(cfg *config.Config, stackMgr *stacks.Manager, cpuCollector *syste
|
|||||||
logger.Printf("[INFO] Auth: no password configured — dashboard is open")
|
logger.Printf("[INFO] Auth: no password configured — dashboard is open")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Sync FileBrowser config on startup to ensure mounts and sources are current
|
||||||
|
go s.syncFileBrowserMounts()
|
||||||
|
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user