[Unit]
Description=Pagure docs web application
After=postgresql.service mariadb.service mysqld.service redis.target
Documentation=https://pagure.io/pagure
[Service]
ExecStart=/usr/bin/gunicorn --workers 4 --env PAGURE_CONFIG=/etc/pagure/pagure.cfg --access-logfile /var/log/pagure/access_docs_web.log --error-logfile /var/log/pagure/error_docs_web.log --bind unix:/tmp/.pagure_docs_web.sock pagure.docs_server:APP
Type=simple
User=git
Group=nginx
Restart=on-failure
[Install]
WantedBy=multi-user.target