mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-06 06:45:05 +01:00
Systemd serfice units
This commit is contained in:
parent
97e9cc37a9
commit
6d095910eb
2 changed files with 22 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue