mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
9 lines
245 B
Bash
9 lines
245 B
Bash
#!/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}"
|