systemctl restart
Stop and then start one or more systemd units. Can be used in place of
systemctl starton a stopped unit, butstartis safer so that a running unit isn't accidentally restarted. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#restart PATTERN….
- Restart a unit:
systemctl restart
- Restart more than one unit:
systemctl restart
- Restart a user unit:
systemctl restart --user
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
