lookyloo/etc/systemd/system/lookyloo.service

16 lines
367 B
INI
Raw Normal View History

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