Ubuntu18关机时出现 A stop job is running for ...导致关机很慢
时间:2021-06-13 09:31:35
收藏:0
阅读:0
1. 修改/etc/systemd/system.conf
sudo vim /etc/systemd/system.conf
2. 找到一下两行
#DefaultTimeoutStartSec=90s
#DefaultTimeoutStopSec=90s
3. 取消注释并修改为
DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s
4. 立即生效
sudo systemctl daemon-reload
评论(0)