14 lines
358 B
Desktop File
14 lines
358 B
Desktop File
[Unit]
|
|
Description=Gunicorn 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/gunicorn --workers 4 --bind unix:baseddata.sock -m 007 app:app
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|