mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 02:11:53 +00:00
appmgr: create app metadata dir explicitly
This commit is contained in:
committed by
Aiden McClelland
parent
c42ff81a38
commit
62e0f742ba
@@ -256,6 +256,19 @@ pub async fn install_v0<R: AsyncRead + Unpin + Send + Sync>(
|
||||
"Package Name Does Not Match Expected"
|
||||
);
|
||||
}
|
||||
|
||||
log::info!(
|
||||
"Creating metadata directory: {}/apps/{}",
|
||||
crate::PERSISTENCE_DIR,
|
||||
manifest.id
|
||||
);
|
||||
tokio::fs::create_dir_all(
|
||||
Path::new(crate::PERSISTENCE_DIR)
|
||||
.join("apps")
|
||||
.join(&manifest.id),
|
||||
)
|
||||
.await?;
|
||||
|
||||
let (ip, tor_addr, tor_key) = crate::tor::set_svc(
|
||||
&manifest.id,
|
||||
crate::tor::NewService {
|
||||
|
||||
Reference in New Issue
Block a user