Merge pull request #229 from ddddavidmartin/clarify_systemd_instructions

Copy Paperless service files to systemd directory before enabling them.
This commit is contained in:
Daniel Quinn 2017-05-27 12:59:00 +01:00 committed by GitHub
commit fc00a09318

View File

@ -313,11 +313,13 @@ paperless install, referencing the appropriate Python binary. For example:
If you don't want to make a new user, you can change the ``Group`` and ``User`` If you don't want to make a new user, you can change the ``Group`` and ``User``
variables accordingly. variables accordingly.
Then, you can just tell Systemd as ``root`` (or using ``sudo``) to enable the Then, as ``root`` (or using ``sudo``) you can just copy the ``.service`` files
two ``.service`` files:: to the Systemd directory and tell it to enable the two services::
# systemctl enable /path/to/paperless/scripts/paperless-consumer.service # cp /path/to/paperless/scripts/paperless-consumer.service /etc/systemd/system/
# systemctl enable /path/to/paperless/scripts/paperless-webserver.service # cp /path/to/paperless/scripts/paperless-webserver.service /etc/systemd/system/
# systemctl enable paperless-consumer
# systemctl enable paperless-webserver
# systemctl start paperless-consumer # systemctl start paperless-consumer
# systemctl start paperless-webserver # systemctl start paperless-webserver