baseddata.io/backend/bitlab21.service

14 lines
357 B
Desktop File

[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