sync
This commit is contained in:
Executable
+17
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Navigate to the script's directory
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# Check for virtual environment and activate if found
|
||||
if [ -d "venv" ]; then
|
||||
source venv/bin/activate
|
||||
elif [ -d ".venv" ]; then
|
||||
source .venv/bin/activate
|
||||
fi
|
||||
|
||||
echo "Starting DownloaderWebApp..."
|
||||
python3 main.py &
|
||||
PID=$!
|
||||
echo $PID > app.pid
|
||||
echo "Application started with PID: $PID"
|
||||
Reference in New Issue
Block a user