1
0
Fork 0

Modify systemd service file

Better support to run miniflux with Let's Encrypt, without a reverse proxy.
This commit is contained in:
Jean Paul Galea 2020-12-29 11:47:27 +01:00 committed by fguillot
parent 9a6c80f562
commit 94eaf0e254

View file

@ -43,5 +43,13 @@ RestrictRealtime=true
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#ReadWritePaths=
ReadWritePaths=/run
# Allow miniflux to bind to <1024 ports
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#AmbientCapabilities=
AmbientCapabilities=CAP_NET_BIND_SERVICE
# Provide a private /tmp for CERT_CACHE (required when using Let's Encrypt)
# https://www.freedesktop.org/software/systemd/man/systemd.exec.html#PrivateTmp=
PrivateTmp=true
[Install]
WantedBy=multi-user.target