Files
4an-workorder/start_with_env.sh
T
2025-08-08 10:38:10 +08:00

6 lines
202 B
Bash
Executable File

#!/bin/bash
# 加载环境变量
export $(cat /opt/1panel/docker/compose/4an/.env | grep -v '^#' | xargs)
# 启动uwsgi
exec /mnt/nfs/.venv/bin/uwsgi --ini /opt/1panel/docker/compose/4an/app/uwsgi.ini