fix
This commit is contained in:
15
testarena-app.service
Normal file
15
testarena-app.service
Normal file
@@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=TestArena FastAPI Application
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=asf
|
||||
Group=asf
|
||||
WorkingDirectory=/home/asf/testarena_backend
|
||||
Environment="PATH=/home/asf/testarena_backend/venv/bin"
|
||||
Environment="DATABASE_URL=sqlite:////home/asf/testarena/testarena.db"
|
||||
ExecStart=/home/asf/testarena_backend/venv/bin/uvicorn testarena_app.main:app --host 0.0.0.0 --port 8000
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user