import os

daemon = True
workers = 5

bind = "0.0.0.0:{{ seafile_seahub_port }}"

pids_dir = '{{ seafile_root_dir }}/pids'
pidfile = os.path.join(pids_dir, 'seahub.pid')

logs_dir = '{{ seafile_root_dir }}/logs'
errorlog = os.path.join(logs_dir, 'gunicorn_error.log')
accesslog = os.path.join(logs_dir, 'gunicorn_access.log')

timeout = 1200
limit_request_line = 8190
