赞
踩
不,daemon-reload将重新加载所有单元文件,而不是systemd本身的配置.但是,#systemctl daemon-reexec将重新执行systemd并使其在此过程中消化其新配置.
从systemctl手册页:
daemon-reexec
Reexecute the systemd manager. This will serialize the manager
state, reexecute the process and deserialize the state again. This
command is of little use except for debugging and package upgrades.
Sometimes, it might be helpful as a heavy-weight daemon-reload.
While the daemon is being reexecuted, all sockets systemd listening
on behalf of user configuration will stay accessible.
当手册页说daemon-reexec对包升级有用时,它在很大程度上意味着该命令执行任何新的二进制文件并重新处理其配置.但是,我们用于升级systemd的RPM已经包含了执行此操作的脚本,因此在正常升级的情况下通常不需要它.
或者你可以重启.要么会这样做.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。