[Unit] Description=gunicorn daemon for recipes After=network.target [Service] Type=simple Restart=always RestartSec=3 User=__APP__ Group=www-data WorkingDirectory=__FINALPATH__ EnvironmentFile=__FINALPATH__/.env ExecStart=__FINALPATH__/venv/bin/gunicorn --error-logfile /tmp/gunicorn_err.log --log-level debug --capture-output --bind 127.0.0.1:__PORT__ recipes.wsgi:application [Install] WantedBy=multi-user.target