解决方法:
vim /etc/systemd/system.conf
修改
DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s
执行生效
systemctl daemon-reload
vim /etc/systemd/system.conf
修改
DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s
执行生效
systemctl daemon-reload