Spaces:
Running
Running
Commit
•
7837429
1
Parent(s):
773cd9d
Update start.sh
Browse files
start.sh
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
#!/bin/bash
|
2 |
-
echo "save \"\"" | redis-cli
|
3 |
-
echo "config set appendonly no" | redis-cli
|
4 |
redis-server --daemonize yes
|
5 |
-
|
|
|
|
|
|
|
|
1 |
#!/bin/bash
|
|
|
|
|
2 |
redis-server --daemonize yes
|
3 |
+
redis-cli config set save ""
|
4 |
+
redis-cli config set appendonly no
|
5 |
+
redis-cli config set stop-writes-on-bgsave-error no
|
6 |
+
gunicorn -b 0.0.0.0:7860 --timeout 120 --workers 3 --threads 3 app:app
|