12 lines
574 B
PowerShell
12 lines
574 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
throw 'Docker development copy: runtime control is disabled until container isolation is ready. See DOCKER_MIGRATION.md.'
|
|
|
|
$Root = Split-Path -Parent $MyInvocation.MyCommand.Path
|
|
$RuntimeBootstrap = Join-Path $Root 'app\runtime_bootstrap.py'
|
|
$Supervisor = (Resolve-Path -LiteralPath (Join-Path $Root 'app\supervisor.py')).Path
|
|
$Config = Join-Path $Root 'app\config.yaml'
|
|
|
|
python -I -S -B $RuntimeBootstrap supervisor -- --runtime-bootstrap-entrypoint $Supervisor --config $Config --attach
|
|
$SupervisorExit = $LASTEXITCODE
|
|
exit $SupervisorExit
|