baseddata.io/backend/bitlab21.service

14 lines
357 B
SYSTEMD
Raw Permalink Normal View History

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