paperless-ngx/scripts/paperless-webserver.service
Erik Arvstedt 1f2079f65a Use --noreload for permanent server start commands
Without it, the server is highly resource-intensive even when
running idle
2018-03-23 11:13:20 +01:00

11 lines
247 B
Desktop File

[Unit]
Description=Paperless webserver
[Service]
User=paperless
Group=paperless
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py runserver --noreload 0.0.0.0:8000
[Install]
WantedBy=multi-user.target