[Unit] Description=jugendhackt_tools web service After=network.target Requires=postgresql.service [Service] User=jugendhackt_tools Group=jugendhackt_tools Environment=CONFIG_PATH=/opt/jugendhackt_tools/config.toml WorkingDirectory=/opt/jugendhackt_tools/src ExecStart=/opt/jugendhackt_tools/venv/bin/gunicorn jugendhackt_tools.wsgi --name jugendhackt_tools --workers 4 --max-requests 1200 --max-requests-jitter 50 --log-level=info --bind=127.0.0.1:22090 Restart=always RestartSec=5 [Install] WantedBy=multi-user.target