Remove wrapper

- Removed wrapper.py
- Removed main.py
- modified radical-api.service to launch the gunicorn process directly.
- Removed exit code in update method.
This commit is contained in:
Riley Housden 2021-12-01 01:52:14 -05:00
parent e6f4eb5404
commit 16b3d03841
Signed by: InValidFire
GPG key ID: 0D6208F6DF56B4D8
4 changed files with 2 additions and 40 deletions

View file

@ -9,7 +9,7 @@ User=radical-api
Group=radical-api
Restart=on-failure
RestartSec=20 3
ExecStart=/usr/bin/env python3.9 /otp/radical-api/main.py
ExecStart=/usr/bin/env python3.9 -m gunicorn -k uvicorn.workers.UvicornWorker --log-config log.conf --bind 0.0.0.0:8000 api:api
[Install]
WantedBy=multi.user.target