mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-20 23:41:20 +00:00
Fix gunicorn unit problems
This commit is contained in:
parent
df29242e75
commit
a1627d49c1
1 changed files with 3 additions and 2 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue