systemctl try-restart
Restart one or more units only if they are currently running. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#try-restart PATTERN….
- Restart a specific unit if it is running:
systemctl try-restart
- Restart multiple units if they are running:
systemctl try-restart
- Restart all units matching a pattern if they are running:
systemctl try-restart ''
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
