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