|
|
|
|
|
by rendaw
423 days ago
|
|
I never understood the use case for socket activation - is someone really running a web server that mixed workloads, long periods with no network traffic you'd rather prioritize something else, and a web server that's so resource intensive when not handling events it makes sense to stop it? Maybe desktop computers? The security aspect is something new to me and I'm not sure if that applies to inetd/systemd socket services or if it's specifically a container thing. Does anyone have more info on use cases for this? |
|
It’s not a systemd-specific thing, but systemd makes it relatively easy to drop privileges (like network in this case), whilst also allowing socket-activated services to be configured easily. You can probably achieve the same thing with inetd + network namespaces (I think this is what systemd uses under the hood)