-
Notifications
You must be signed in to change notification settings - Fork 120
Open
Description
Now that Caddy supports socket activation adjust the systemd service examples
init/caddy.service
init/caddy-api.service
to make use of a socket unit.
I haven't verified this but I'm speculating that we could remove the line
Line 32 in 34f51d8
| AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE |
CAP_NET_ADMIN was added in
There is a systemd directive ReceiveBuffer that looks useful:
https://www.freedesktop.org/software/systemd/man/latest/systemd.socket.html#ReceiveBuffer=
(I don't know if the systemd directive ReceiveBuffer= would provide enough functionality to justify the removal of CAP_NET_ADMIN)
Metadata
Metadata
Assignees
Labels
No labels