Skip to content

Commit

Permalink
Execute standalone application without gunicorn
Browse files Browse the repository at this point in the history
  • Loading branch information
jordap committed Jul 3, 2024
1 parent 1012b20 commit 6c92131
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/docker/slurm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ if [ "$1" = "node" ]; then
sed "s/127.0.0.1/127.0.0.1, $ip/" \
/host-source/test/docker/slurm/omnistat.slurm > /etc/omnistat.config

OMNISTAT_CONFIG=/etc/omnistat.config /opt/omnistat/bin/gunicorn \
-b 0.0.0.0:8000 omnistat.node_monitoring:app --daemon
OMNISTAT_CONFIG=/etc/omnistat.config /opt/omnistat/bin/python -m \
omnistat.node_monitoring
fi

sleep infinity

0 comments on commit 6c92131

Please sign in to comment.