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:
parent
e6f4eb5404
commit
16b3d03841
4 changed files with 2 additions and 40 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue