Use --noreload for permanent server start commands

Without it, the server is highly resource-intensive even when
running idle
This commit is contained in:
Erik Arvstedt
2018-03-23 10:59:52 +01:00
parent 47e52c5250
commit 7157ed2bdd
4 changed files with 8 additions and 5 deletions

View File

@@ -4,7 +4,7 @@ Description=Paperless webserver
[Service]
User=paperless
Group=paperless
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py runserver 0.0.0.0:8000
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