You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 line
553 B

  1. [Unit]
  2. Description="{{ bench_name }}-xhiveframework-web"
  3. PartOf={{ bench_name }}-web.target
  4. [Service]
  5. User={{ user }}
  6. Group={{ user }}
  7. Restart=always
  8. ExecStart={{ bench_dir }}/env/bin/gunicorn -b 127.0.0.1:{{ webserver_port }} -w {{ gunicorn_workers }} -t {{ http_timeout }} --max-requests {{ gunicorn_max_requests }} --max-requests-jitter {{ gunicorn_max_requests_jitter }} xhiveframework.app:application --preload
  9. StandardOutput=file:{{ bench_dir }}/logs/web.log
  10. StandardError=file:{{ bench_dir }}/logs/web.error.log
  11. WorkingDirectory={{ sites_dir }}