ibs/run-tls
HeshamTB c0c9c7da2b run-tls: use exec when starting uvicorn
- exec replaces the running shell (script)

Signed-off-by: HeshamTB <hishaminv@gmail.com>
2022-04-17 20:40:07 +03:00

5 lines
165 B
Bash
Executable File

#!/bin/bash
source venv/bin/activate
exec uvicorn sql_app.main:app --ssl-certfile server.crt --ssl-keyfile server.key --port 4242 --host 0.0.0.0 --no-server-header