A “stop job” is preventing my computer from shutting down/restarting but not going into sleep mode
If you need to stop or restart in this situation:
Keyb combo: ctrl-alt-F1 to get to a terminal
Login as root
type “shutdown -h now” to turn off
or
type “shutdown -r now” to reboot
I want to make this stop happening, what i usually do is just wait for the system to kill the process but now i want it to function as intended
Then find out what systemd is waiting for.
I changed the timeouts by overriding systemd.conf and user.conf.
As root:
echo -e '[Manager]\nDefaultTimeoutStopSec=10s\nDefaultDeviceTimeoutSec=30s > /etc/systemd/system.conf.d/10-local.conf
echo -e '[Manager]\nDefaultTimeoutStopSec=20s\n' > /etc/systemd/user.conf.d/10-local.conf
systemctl daemon-reexec # to get systemd to reload its config
If you want to check whether that worked, as a normal user:
sudo bash -c 'systemctl show --all | grep Timeout'
systemctl show --all | grep Timeout
How would I do that?
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.