diff --git a/restart b/restart index b22da8242..2ae7a45f6 100755 --- a/restart +++ b/restart @@ -1,3 +1,3 @@ source /env killall gunicorn -gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file +gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file diff --git a/setup b/setup index b92fb1574..a9682516a 100755 --- a/setup +++ b/setup @@ -12,4 +12,4 @@ sudo apt -y install ffmpeg mkdir /songs cp ./env /env . /env -gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file +gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --max-requests 1000 --max-requests-jitter 500 \ No newline at end of file diff --git a/supervisord.conf b/supervisord.conf index a95abbbf7..871d0f1eb 100755 --- a/supervisord.conf +++ b/supervisord.conf @@ -5,7 +5,7 @@ logfile=/tmp/supervisord.log [program:service] directory=/service -command=gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --reload-extra-file ./files/templates/ --max-requests 1000 --max-requests-jitter 500 +command=gunicorn files.__main__:app -k gevent -w 1 --reload -b 0.0.0.0:80 --max-requests 1000 --max-requests-jitter 500 stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr