[Unit] Description=gunicorn daemon for {{name}} Requires=gunicorn-{{name}}.socket After=network.target [Service] PIDFile=/run/gunicorn-{{name}}/pid User={{exec_user}} Group={{exec_group}} RuntimeDirectory=gunicorn WorkingDirectory={{source_location}} ExecStart={{venv_location}}{{venv_name}}/bin/gunicorn --pid /run/gunicorn-{{name}}/pid \ --bind unix:/run/gunicorn-{{name}}/socket run:app ExecReload=/bin/kill -s HUP $MAINPID ExecStop=/bin/kill -s TERM $MAINPID PrivateTmp=true