From 6c92131a958f5ac79d727a7e2e0099626a1cc32a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jord=C3=A0=20Polo?= Date: Wed, 3 Jul 2024 15:09:12 -0700 Subject: [PATCH] Execute standalone application without gunicorn --- test/docker/slurm/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/docker/slurm/docker-entrypoint.sh b/test/docker/slurm/docker-entrypoint.sh index 8a0d1521..79827f80 100755 --- a/test/docker/slurm/docker-entrypoint.sh +++ b/test/docker/slurm/docker-entrypoint.sh @@ -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