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 committed 2018-03-23 11:13:20 +01:00
1 parent f61fa06993
commit 1f2079f65a
4 files changed
+8 -5

No files matched your search

+1 -1
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