Create start.sh
Browse files
start.sh
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
# Start the web server (app.py) in the background
|
| 4 |
+
echo "Starting web server to keep Space alive..."
|
| 5 |
+
python app.py &
|
| 6 |
+
|
| 7 |
+
# Start the Telegram bot (main.py) in the foreground
|
| 8 |
+
echo "Starting Telegram bot..."
|
| 9 |
+
python main.py
|