mirror of
https://github.com/lightbroker/llmsecops-research.git
synced 2026-07-02 03:15:33 +02:00
separate scripts for workflow
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -e # Exit on error
|
||||
|
||||
echo "Starting API server with logging..."
|
||||
nohup python -m src.api.controller > logs/api.log 2>&1 &
|
||||
API_PID=$!
|
||||
echo "API server started with PID: $API_PID"
|
||||
|
||||
# Save PID to file so it can be accessed by other scripts
|
||||
echo $API_PID > api_pid.txt
|
||||
Reference in New Issue
Block a user