现象

Linux关机时提示A stop job is running for ..
导致关机慢

解决方案

编辑:
/etc/systemd/system.conf
修改下面两个变量为:

DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s

执行:
systemctl daemon-reload

Last modification:February 13th, 2020 at 05:59 pm
If you think my article is useful to you, please feel free to appreciate