[Unit] Description=uWSGI instance to serve lookyloo After=network.target [Service] User=www-data Group=www-data Type=forking WorkingDirectory= Environment=LOOKYLOO_HOME= Environment=PATH=/bin:$PATH ExecStart=/bin/start.py ExecStop=/bin/stop.py [Install] WantedBy=multi-user.target