move media startup into service

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-07-14 11:31:39 +00:00
1 parent 38c989a07e
commit aa7a310200
2 files changed
+8 -1

No files matched your search

-1
View File
@@ -93,7 +93,6 @@ impl Services {
pub(super) async fn start(&self) -> Result<()> {
debug_info!("Starting services...");
self.media.create_media_dir().await?;
globals::migrations::migrations(&self.db, &self.globals.config).await?;
globals::emerg_access::init_emergency_access();