This commit is contained in:
Oscar Krause 2022-12-28 08:57:35 +01:00
parent 437b62376f
commit 2340931a60

View File

@ -16,7 +16,7 @@ After=network.target
User=www-data User=www-data
Group=www-data Group=www-data
AmbientCapabilities=CAP_NET_BIND_SERVICE AmbientCapabilities=CAP_NET_BIND_SERVICE
WorkingDirectory=$WORKING_DIR WorkingDirectory=$WORKING_DIR/app
EnvironmentFile=$CONFIG_DIR/env EnvironmentFile=$CONFIG_DIR/env
ExecStart=uvicorn main:app \\ ExecStart=uvicorn main:app \\
--env-file /etc/fastapi-dls/env \\ --env-file /etc/fastapi-dls/env \\