run-tls: use exec when starting uvicorn
- exec replaces the running shell (script) Signed-off-by: HeshamTB <hishaminv@gmail.com>
This commit is contained in:
parent
4617e5a7a2
commit
c0c9c7da2b
2
run-tls
2
run-tls
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
source venv/bin/activate
|
||||
uvicorn sql_app.main:app --ssl-certfile server.crt --ssl-keyfile server.key --port 4242 --host 0.0.0.0 --no-server-header
|
||||
exec uvicorn sql_app.main:app --ssl-certfile server.crt --ssl-keyfile server.key --port 4242 --host 0.0.0.0 --no-server-header
|
||||
|
Loading…
Reference in New Issue
Block a user