How to Reduce default stop timeout to speed up Ubuntu shutdown

By default in your Ubuntu system the stop timeout that is the wait period for the system shut down is 90 seconds. But you can change this time by editing the /etc/systemd/system.conf file. This will speed up your Ubuntu system shutdown time. In this article we will see how to reduce the default stop timeout in Ubuntu.

First open your terminal application. You can open it by pressing ctrl+alt+t keys together. In terminal run this command.

sudo xdg-open /etc/systemd/system.conf

Enter your Ubuntu password. It will open the /etc/systemd/system.conf file with your default text editor.
Then find the below line.

#DefaultTimeoutStopSec=90s

Just change it to look like below

DefaultTimeoutStopSec=10s

 

Also Read:  How to Install and Setup SFTPGo SFTP Server on Ubuntu

Here we changed the default stop timeout to 10 seconds and removed the #. And save the file and restart your system. Now you will notice little speed boost in your system shutdown. That’s all.

If you liked this article, please subscribe to our YouTube Channel. You can also stay connected with us on X (Twitter) and Facebook.



Leave a Reply