[Unit]
Description=Wurker UI Service
After=network.target

[Service]
User={{ user }}
Group={{ group }}
Environment="PATH={{ virtualenv }}/bin"
WorkingDirectory={{ app_root }}/
ExecStart={{ virtualenv }}/bin/gunicorn --workers {{ workers }} --bind unix:{{ socket }} wurker.ui.wsgi:app
KillMode=control-group
Restart=on-failure
RestartSec=50s

[Install]
WantedBy=multi-user.target
