mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Ensure Mongo database directory exists.
This commit is contained in:
parent
c56a84e694
commit
9e40ef96a2
1 changed files with 2 additions and 0 deletions
|
|
@ -112,4 +112,6 @@ $mongoPath = Find-Mongo $preferred_version
|
|||
Write-Color -Text ">>> ", "Using DB path: ", "[ ", "$($dbpath)", " ]" -Color Green, Gray, Cyan, White, Cyan
|
||||
Write-Color -Text ">>> ", "Port: ", "[ ", "$($port)", " ]" -Color Green, Gray, Cyan, White, Cyan
|
||||
|
||||
New-Item -ItemType Directory -Force -Path $($dbpath)
|
||||
|
||||
Start-Process -FilePath $mongopath "--dbpath $($dbpath) --port $($port)" -PassThru | Out-Null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue