baseddata.io/backend/baseddata.service

14 lines
357 B
Desktop File

[Unit]
Description=Uvicorn instance to serve baseddata.io
After=network.target
[Service]
User=admin
Group=www-data
WorkingDirectory=/var/www/baseddata.io/backend
Environment="PATH=/var/www/baseddata.io/.venv/bin"
ExecStart=/var/www/baseddata.io/.venv/bin/uvicorn --workers 4 --uds /var/sockets/baseddata.sock main:app
[Install]
WantedBy=multi-user.target