mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
修复配置文件日志路径错误
This commit is contained in:
parent
7f72e3f1b0
commit
beb060bf63
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
command=gunicorn oj.wsgi:application -b 0.0.0.0:8080 --reload
|
command=gunicorn oj.wsgi:application -b 0.0.0.0:8080 --reload
|
||||||
|
|
||||||
directory=/root/qduoj/
|
directory=/code/qduoj/
|
||||||
user=root
|
user=root
|
||||||
numprocs=1
|
numprocs=1
|
||||||
stdout_logfile=/root/log/gunicorn.log
|
stdout_logfile=/code/log/gunicorn.log
|
||||||
stderr_logfile=/root/log/gunicorn.log
|
stderr_logfile=/code/log/gunicorn.log
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startsecs=5
|
startsecs=5
|
||||||
|
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
command=python manage.py runscript mq
|
command=python manage.py runscript mq
|
||||||
|
|
||||||
directory=/root/qduoj/
|
directory=/code/qduoj/
|
||||||
user=root
|
user=root
|
||||||
numprocs=1
|
numprocs=1
|
||||||
stdout_logfile=/root/log/mq.log
|
stdout_logfile=/code/log/mq.log
|
||||||
stderr_logfile=/root/log/mq.log
|
stderr_logfile=/code/log/mq.log
|
||||||
autostart=true
|
autostart=true
|
||||||
autorestart=true
|
autorestart=true
|
||||||
startsecs=5
|
startsecs=5
|
||||||
|
@ -2,16 +2,16 @@
|
|||||||
file=/tmp/supervisor.sock ; path to your socket file
|
file=/tmp/supervisor.sock ; path to your socket file
|
||||||
|
|
||||||
[supervisord]
|
[supervisord]
|
||||||
logfile=/root/log/supervisord.log ; supervisord log file
|
logfile=/code/log/supervisord.log ; supervisord log file
|
||||||
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
logfile_maxbytes=50MB ; maximum size of logfile before rotation
|
||||||
logfile_backups=10 ; number of backed up logfiles
|
logfile_backups=10 ; number of backed up logfiles
|
||||||
loglevel=info ; info, debug, warn, trace
|
loglevel=info ; info, debug, warn, trace
|
||||||
pidfile=/root/log/supervisord.pid ; pidfile location
|
pidfile=/code/log/supervisord.pid ; pidfile location
|
||||||
nodaemon=false ; run supervisord as a daemon
|
nodaemon=false ; run supervisord as a daemon
|
||||||
minfds=1024 ; number of startup file descriptors
|
minfds=1024 ; number of startup file descriptors
|
||||||
minprocs=200 ; number of process descriptors
|
minprocs=200 ; number of process descriptors
|
||||||
user=root ; default user
|
user=root ; default user
|
||||||
childlogdir=/root/log/ ; where child log files will live
|
childlogdir=/code/log/ ; where child log files will live
|
||||||
|
|
||||||
|
|
||||||
[rpcinterface:supervisor]
|
[rpcinterface:supervisor]
|
||||||
@ -23,4 +23,4 @@ serverurl=unix:///tmp/supervisor.sock ; use unix:// schem for a unix sockets.
|
|||||||
|
|
||||||
[include]
|
[include]
|
||||||
|
|
||||||
files=*.conf
|
files=gunicorn.conf mq.conf
|
Loading…
Reference in New Issue
Block a user