Skip to content

Commit

Permalink
Update nsls2api.service to make port same as Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell authored Dec 19, 2023
1 parent 4b28b09 commit f8debba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/systemd-units/nsls2api.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8debba

Please sign in to comment.