Spaces:
Running
Running
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,3 +1,5 @@
|
|
1 |
#!/bin/bash
|
|
|
|
|
2 |
redis-server --daemonize yes
|
3 |
gunicorn -b 0.0.0.0:7860 --timeout 120 --workers 5 --threads 5 app:app
|
|
|
1 |
#!/bin/bash
|
2 |
+
echo "save \"\"" | redis-cli
|
3 |
+
echo "config set appendonly no" | redis-cli
|
4 |
redis-server --daemonize yes
|
5 |
gunicorn -b 0.0.0.0:7860 --timeout 120 --workers 5 --threads 5 app:app
|