[Unit] Description=uWSGI instance to serve lookyloo After=network.target [Service] User=www-data Group=www-data WorkingDirectory=/home//lookyloo Environment="PATH=/home///bin" ExecStart=/home///bin/uwsgi --ini lookyloo.ini Environment=DISPLAY=:0 Environment=FLASK_APP=lookyloo [Install] WantedBy=multi-user.target