From f8debba830fec79eb8e3cd8e6ca1744198d9f678 Mon Sep 17 00:00:00 2001 From: Stuart Campbell Date: Tue, 19 Dec 2023 16:35:41 -0500 Subject: [PATCH] Update nsls2api.service to make port same as Dockerfile --- deployment/systemd-units/nsls2api.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployment/systemd-units/nsls2api.service b/deployment/systemd-units/nsls2api.service index d4a31f0e..5d3db1a1 100644 --- a/deployment/systemd-units/nsls2api.service +++ b/deployment/systemd-units/nsls2api.service @@ -3,7 +3,7 @@ Description=gunicorn uvicorn service for NSLS-II API After=syslog.target [Service] -ExecStart=/srv/nsls2api/venv/bin/gunicorn -b 127.0.0.1:31415 -w 4 -k uvicorn.workers.UvicornWorker main:api --name nsls2api_svc --chdir /srv/nsls2api/nsls2-api --access-logfile /srv/nsls2api/logs/access.log --error-logfile /srv/nsls2api/logs/errors.log +ExecStart=/srv/nsls2api/venv/bin/gunicorn -b 127.0.0.1:8080 -w 4 -k uvicorn.workers.UvicornWorker main:api --name nsls2api_svc --chdir /srv/nsls2api/nsls2-api --access-logfile /srv/nsls2api/logs/access.log --error-logfile /srv/nsls2api/logs/errors.log ExecReload=/bin/kill -s HUP $MAINPID KillMode=mixed TimeoutStopSec=5