If you don’t know how to edit the config file in terminal, use this command to open the file for editing in your system’s default text editor (like Gedit): sudo xdg-open /etc/systemd/nf Change Shutdown Time Settings Ubuntuĭon’t forget to remove the # before DefaultTimeoutStopSec. You have to change this value to something more convenient like 5 or 10 seconds. They represent the default values of the entries in the file.īefore you do anything, it will be a good idea to make a copy of the original file. This file should be filled with lots of line starting with #. You’ll find all the systemd settings in the config file located at /etc/systemd/nf. If you want your Linux system to shut down quickly, you can change this waiting period. ![]() Your system tries to force stop the services after this time period. ![]() The default wait period for the shut down is usually set at 90 seconds. Speed up shutdown in Linux by reducing default stop timeout You should have knowledge of the process. ![]() Don’t go blindly removing stuff here, please. You should also check the content of /etc/systemd/nf file and make sure that the value of Storage is set to either auto or persistent.ĭo you find something suspicious in the logs? Is there a process/service refusing to stop? If yes, investigate if you could remove it without side effects or if you could reconfigure it. If it doesn’t, create it: sudo mkdir /var/log/journal If there are no journal logs, please make sure that your distribution uses systemd.Įven on some Linux distributions with systemd, the journal logs are not activated by default.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |