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

15 lines
388 B
SYSTEMD
Raw Normal View History

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