我正在阅读手册页systemctl reload
,发现这句话是关于reload
.
reload PATTERN...
Asks all units listed on the command line to reload their
configuration.
http://man7.org/linux/man-pages/man1/systemctl.1.html
systemd 是如何做到这一点的?systemd 使用什么 API 来要求单元重新加载其配置?
我也发现了reload-or-restart
。
reload-or-restart PATTERN...
Reload one or more units if they support it. If not, restart them
instead.
systemd 如何知道该单元是否支持重新加载?