mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge pull request #229 from ddddavidmartin/clarify_systemd_instructions
Copy Paperless service files to systemd directory before enabling them.
This commit is contained in:
commit
fc00a09318
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user