1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00
AdvLabDB/advlabdb/scripts/setup/gunicorn.service
2022-05-08 17:29:45 +02:00

14 lines
388 B
Desktop File

[Unit]
Description=Gunicorn - AdvLabDB
After=network.target
[Service]
User=admin
Group=www-data
Environment="PATH=/home/admin/advlabdb/.venv/bin"
WorkingDirectory=/home/admin/advlabdb
ExecStart=/home/admin/advlabdb/.venv/bin/gunicorn --workers 5 --bind unix:gunicorn.sock --umask 007 --log-file /var/log/advlabdb/gunicorn.log run:app
Restart=always
[Install]
WantedBy=multi-user.target