Move filesystem to more generic name & add perms

This commit is contained in:
Adam Outler
2025-09-27 21:58:00 -04:00
parent b47df7b33f
commit d182a552b8
34 changed files with 25 additions and 16 deletions

View File

@@ -0,0 +1,7 @@
#!/bin/bash
echo "Starting backend..."
cd "${NETALERTX_APP}" || exit
# Change user to netalertx
export PYTHONPATH="${NETALERTX_SERVER}:${NETALERTX_APP}"
# Start the backend, teeing stdout and stderr to log files and the container's console
python3 -m server > >(tee /app/log/stdout.log) 2> >(tee /app/log/stderr.log >&2)