# systemd service file for starting the web app # # How to use this file: # - copy this file to /etc/systemd/system # - edit the variables below accordingly # - systemctl enable website.service # - systemctl start website.service [Unit] Description=DOKK website app After=network.target [Service] # URI to Fuseki endpoint for querying Environment=FUSEKI_ENDPOINT=https://example.org:3030/dokk ExecStart=/home/fuseki/dokk.org/venv/bin/gunicorn --workers 2 --threads 4 --bind localhost:8080 app:application User=fuseki Group=fuseki WorkingDirectory=/home/fuseki/dokk.org Restart=always [Install] WantedBy=multi-user.target