1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00

Fix gunicorn unit problems

This commit is contained in:
Mo 2022-05-03 19:03:54 +02:00
parent df29242e75
commit a1627d49c1

View file

@ -4,9 +4,10 @@ After=network.target
[Service]
User=admin
Group=admin
Group=www-data
Environment="PATH=/home/admin/advlabdb/.venv/bin"
WorkingDirectory=/home/admin/advlabdb
ExecStart=/home/admin/.local/bin/poetry run gunicorn --workers 5 --bind unix:gunicorn.sock --umask 007 --log-file /var/log/advlabdb/gunicorn.log run:app
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]