linux开机慢 等待1min30s

2020-02-14  本文已影响0人  linux_python

一、现象

Linux关机或重启时提示A stop job is running for ..

导致关机慢。

二、解决方法

编辑/etc/systemd/system.conf

修改下面两个变量为:

DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s
执行:systemctl daemon-reload

上一篇 下一篇

猜你喜欢

热点阅读