Files
bifrost/playbooks/roles/bifrost-create-vm-nodes/templates/redfish-emulator.service.j2
Dmitry Tantsur 2cf21258af Remove support for non-venv deployments
It has been deprecated and untested since ussuri, time to move on.

Change-Id: Ieddda38b12d07a2a5c51650850b150dd82f332a9
2020-08-25 11:08:09 +02:00

11 lines
353 B
Django/Jinja

[Unit]
Description=Sushy Redfish Emulator
[Service]
Type=simple
Restart=on-failure
ExecStart={{ bifrost_venv_dir }}/bin/gunicorn sushy_tools.emulator.main:app \
--bind {{ redfish_emulator_host }}:{{ redfish_emulator_port }} \
--env SUSHY_EMULATOR_CONFIG=/etc/redfish-emulator.conf \
--env FLASK_DEBUG=1 --workers 2 --threads 2 --timeout 90