File: biomaj-download-web

package info (click to toggle)
biomaj3-download 3.2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 520 kB
  • sloc: python: 3,142; sh: 18; makefile: 14
file content (11 lines) | stat: -rwxr-xr-x 449 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

if [ -z $BIOMAJ_CONFIG ]; then
    export BIOMAJ_CONFIG=/etc/python3-biomaj3-download/config.yml
fi

if [ ! -e /var/cache/python3-biomaj3-download/prometheus-multiproc ]; then
    mkdir -p /var/cache/python3-biomaj3-download/prometheus-multiproc
fi
export prometheus_multiproc_dir=/var/cache/python3-biomaj3-download/prometheus-multiproc
gunicorn -c /etc/python3-biomaj3-process/gunicorn_conf.py biomaj_download.biomaj_download_web:app