系统相关
首页 > 系统相关> > liunux(ubuntu)重启或关机卡90秒

liunux(ubuntu)重启或关机卡90秒

作者:互联网

ubuntu关机时,提示:
A stop job is running for Session c2 of user ... (1min 30s)

解决方法:
sudo gedit /etc/systemd/system.conf
去除默认的注释,修改为:
DefaultTimeoutStartSec=1s
DefaultTimeoutStopSec=1s
DefaultRestartSec=100ms
重启:
sudo systemctl daemon-reload
sudo reboot

标签:1s,100ms,liunux,重启,sudo,ubuntu,90,关机时
来源: https://blog.csdn.net/dw903632958/article/details/101016941