/usr/bin/biomaj-daemon-web is in python3-biomaj3-daemon 3.0.14-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | #!/bin/bash
if [ -z $BIOMAJ_CONFIG ]; then
export BIOMAJ_CONFIG=/etc/python3-biomaj3-daemon/config.yml
fi
if [ ! -e /var/cache/python3-biomaj3-daemon/prometheus-multiproc ]; then
mkdir -p /var/cache/python3-biomaj3-daemon/prometheus-multiproc
fi
export prometheus_multiproc_dir=/var/cache/python3-biomaj3-daemon/prometheus-multiproc
gunicorn -c /etc/python3-biomaj3-daemon/gunicorn_conf.py biomaj_daemon.daemon.biomaj_daemon_web:app
|