Basic api stuff and bot exec
This commit is contained in:
@@ -13,11 +13,11 @@ server {
|
||||
error_log /tmp/logs/geeksbot/error.log;
|
||||
|
||||
location /static/ {
|
||||
alias /code/staticfiles/;
|
||||
alias /code/geeksbot_v2/staticfiles/;
|
||||
}
|
||||
|
||||
location /error/ {
|
||||
alias /code/staticfiles/errors/;
|
||||
alias /code/geeksbot_v2/staticfiles/errors/;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[program:geeksbot]
|
||||
command=/usr/local/bin/gunicorn config.wsgi:application -c /etc/gunicorn.conf
|
||||
directory=/code/
|
||||
directory=/code/geeksbot_v2
|
||||
stdout_logfile=/tmp/logs/geeksbot/gunicorn.log
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
||||
Reference in New Issue
Block a user