mirror of
https://github.com/caddyserver/caddy.git
synced 2025-01-14 14:56:27 +03:00
Updated systemd caddy.service (#2620)
According to https://github.com/systemd/systemd/blob/v241/NEWS#L2799 The Directive ReadWriteDirectories= has been renamed to ReadWritePaths= in 241.
This commit is contained in:
parent
a9ccaa1ae5
commit
43458bda46
1 changed files with 1 additions and 1 deletions
2
dist/init/linux-systemd/caddy.service
vendored
2
dist/init/linux-systemd/caddy.service
vendored
|
@ -38,7 +38,7 @@ ProtectHome=true
|
||||||
ProtectSystem=full
|
ProtectSystem=full
|
||||||
; … except /etc/ssl/caddy, because we want Letsencrypt-certificates there.
|
; … except /etc/ssl/caddy, because we want Letsencrypt-certificates there.
|
||||||
; This merely retains r/w access rights, it does not add any new. Must still be writable on the host!
|
; This merely retains r/w access rights, it does not add any new. Must still be writable on the host!
|
||||||
ReadWriteDirectories=/etc/ssl/caddy
|
ReadWritePaths=/etc/ssl/caddy
|
||||||
|
|
||||||
; The following additional security directives only work with systemd v229 or later.
|
; The following additional security directives only work with systemd v229 or later.
|
||||||
; They further restrict privileges that can be gained by caddy. Uncomment if you like.
|
; They further restrict privileges that can be gained by caddy. Uncomment if you like.
|
||||||
|
|
Loading…
Reference in a new issue