mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 09:54:36 +00:00
paperless_fix_granian_env (#3790)
This commit is contained in:
parent
30fbcb5ba8
commit
607ab48f79
1 changed files with 4 additions and 1 deletions
|
@ -209,7 +209,10 @@ Requires=redis.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/opt/paperless/src
|
WorkingDirectory=/opt/paperless/src
|
||||||
ExecStart=python3 webserver.py
|
ExecStart=granian --interface asginl --ws "paperless.asgi:application"
|
||||||
|
Environment=GRANIAN_HOST=::
|
||||||
|
Environment=GRANIAN_PORT=8000
|
||||||
|
Environment=GRANIAN_WORKERS=1
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue