1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-12-20 23:41:20 +00:00
AdvLabDB/scripts/gunicorn.service

14 lines
338 B
SYSTEMD
Raw Normal View History

2022-04-20 00:12:19 +00:00
[Unit]
Description=Gunicorn - AdvLabDB
After=network.target
[Service]
User=admin
Group=admin
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
Restart=always
[Install]
WantedBy=multi-user.target