mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
architectural change 1
This commit is contained in:
8
dockerfiles/start-backend.sh
Normal file
8
dockerfiles/start-backend.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
echo "Starting backend..."
|
||||
cd "${NETALERTX_APP}" || exit
|
||||
# Clear previous logs
|
||||
echo '' > "${LOG_STDOUT}"
|
||||
echo '' > "${LOG_STDERR}"
|
||||
# Start the backend and redirect output
|
||||
exec python3 -m server >> "${LOG_STDOUT}" 2>> "${LOG_STDERR}"
|
||||
Reference in New Issue
Block a user