mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Systemd serfice units
This commit is contained in:
parent
97e9cc37a9
commit
6d095910eb
11
scripts/paperless-consumer.service
Normal file
11
scripts/paperless-consumer.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Paperless consumer
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/conf.d/paperless
|
||||
User=paperless
|
||||
Group=paperless
|
||||
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py consume -v $PAPERLESS_CONSUMPTION_VERBOSITY
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
11
scripts/paperless-webserver.service
Normal file
11
scripts/paperless-webserver.service
Normal file
@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Paperless webserver
|
||||
|
||||
[Service]
|
||||
EnvironmentFile=/etc/conf.d/paperless
|
||||
User=paperless
|
||||
Group=paperless
|
||||
ExecStart=/home/paperless/project/virtualenv/bin/python /home/paperless/project/src/manage.py runserver 0.0.0.0:8000
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user