9 lines
424 B
Bash
9 lines
424 B
Bash
#!/usr/bin/env bash
|
|
# roledesk's own, beside the boilerplate's backend and check: the queue drained with no web app, `app worker`.
|
|
# The profile's <name>-worker runs it; `.run/worker.run.xml` is the same command from PyCharm.
|
|
set -euo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
|
# A shell started by wsl.exe has not read the rc file that puts uv on PATH.
|
|
export PATH="$HOME/.local/bin:$PATH"
|
|
exec uv run app worker "$@"
|