[Unit] Description=Paperless webserver After=network.target Wants=network.target Requires=redis.service [Service] User=paperless Group=paperless WorkingDirectory=/opt/paperless/src ExecStart=/opt/paperless/.local/bin/gunicorn paperless.wsgi -w 2 -b 0.0.0.0:8000 [Install] WantedBy=multi-user.target