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.
Just change it to look like below
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.