Files
GIA/auth_django.sh

11 lines
256 B
Bash
Executable File

#!/bin/sh
set -eu
# Prosody external auth expects a single long-lived stdin/stdout process.
# Keep one stable process chain and hand off with exec.
exec podman exec -i gia sh -lc '
cd /code &&
. /venv/bin/activate &&
exec python -u auth_django.py
'