Spaces:
Sleeping
Sleeping
Create start.sh
Browse files
start.sh
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
set -e
|
| 3 |
+
|
| 4 |
+
echo "==> Running database restore from Hugging Face Dataset..."
|
| 5 |
+
python3 /app/scripts/restore_from_dataset.py
|
| 6 |
+
|
| 7 |
+
echo "==> Starting supervisor..."
|
| 8 |
+
exec /usr/bin/supervisord -c /etc/supervisor/conf.d/supervisord.conf
|