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
|
@ -12,4 +12,4 @@ router = APIRouter()
|
|||
@router.post("/system/update")
|
||||
def update(access_token: APIKey = Depends(get_system_key)):
|
||||
output = subprocess.check_output(['git', 'pull'], encoding='utf-8')
|
||||
sys.exit(26) # exit with restart code
|
||||
sys.exit()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue