baseddata.io/backend/baseddata.service

14 lines
359 B
SYSTEMD
Raw Normal View History

2024-08-01 14:06:16 +01:00
[Unit]
Description=Gunicorn instance to serve baseddata.io
2024-08-01 14:06:16 +01:00
After=network.target
[Service]
User=admin
Group=www-data
WorkingDirectory=/var/www/baseddata.io/backend
Environment="PATH=/var/www/baseddata.io/.venv/bin"
2025-01-11 15:10:53 +00:00
ExecStart=/var/www/baseddata.io/.venv/bin/gunicorn --workers 4 --bind unix:baseddata.sock -m 007 main:app
2024-08-01 14:06:16 +01:00
[Install]
WantedBy=multi-user.target