Merge pull request #18 from benjaminfrank/systemd-socket-port-80

Enable non-root port 80 via systemd
This commit is contained in:
Quinn Casey 2022-02-28 11:17:50 -08:00 committed by GitHub
commit 049a2dde96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 0 deletions

View file

@ -3,6 +3,7 @@ Description=Paperless webserver
After=network.target
Wants=network.target
Requires=redis.service
#Requires=paperless-webserver.socket
[Service]
User=paperless

View file

@ -0,0 +1,9 @@
[Unit]
Description=Paperless Webserver Socket
[Socket]
ListenStream=80
NoDelay=true
[Install]
WantedBy=sockets.target