615 B
615 B
title, type, tags, sources, last_updated
| title | type | tags | sources | last_updated | ||||
|---|---|---|---|---|---|---|---|---|
| Socket激活机制 | concept |
|
|
2026-04-14 |
Definition
Socket激活机制是systemd的一种按需启动服务方式,服务在首次连接请求进入时才启动进程。
Key Attributes
- 机制:有连接请求时才启动服务
- 适用:Ubuntu 24.04默认SSH使用ssh.socket
- 对比:传统ssh.service为常驻运行
Related Entities
- OpenSSH:可配置为socket激活
- Ubuntu-Server:24.04版本引入了此机制
Connections
- Socket激活机制 ← 应用 ← OpenSSH