add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,7 +1,7 @@
# systemctl
> 控制 systemd 系统和服务管理器。
> 更多信息:<https://www.freedesktop.org/software/systemd/man/systemctl.html>.
> 更多信息:<https://www.freedesktop.org/software/systemd/man/systemctl.html>
- 显示所有正在运行的服务:
@@ -13,24 +13,24 @@
- 启动/停止/重启/重新加载/显示服务的状态:
`systemctl {{start|stop|restart|reload|status}} {{单元}}`
`systemctl {{start|stop|restart|reload|status}} {{unit}}`
- 启用/禁用开机时启动的单元:
- 启用/禁用单元以便在启动时启动
`systemctl {{enable/disable}} {{单元}}`
`systemctl {{enable|disable}} {{unit}}`
- 重新加载 systemd扫描新的或更改的单元
`systemctl daemon-reload`
- 检查单元是否激活/启用/失败:
- 检查单元是否处于活动/启用/失败状态
`systemctl {{is-active|is-enabled|is-failed}} {{单元}}`
`systemctl {{is-active|is-enabled|is-failed}} {{unit}}`
- 按运行/失败状态过滤列出所有服务/套接字/自动挂载单元:
- 列出所有服务/套接字/自动挂载单元,并按运行/失败状态过滤
`systemctl list-units --type={{service|socket|automount}} --state={{failed|running}}`
- 显示单元文件的内容和绝对路径:
`systemctl cat {{单元}}`
`systemctl cat {{unit}}`