Page 1 of 1

Solution for long Linux boots because of systemd services

Posted: Tue Jan 07, 2020 10:47 am
by xeno74
Hi All,

Sometimes a systemd service has a big value for the variable "TimeoutStartSec" for example systemd's networking service. If systemd has a problem to raise up the network interfaces then the boot of a Linux system needs more time because systemd try to configure the network interfaces again till the TimeoutStartSec has reached the value. I set the variable "TimeoutStartSec" to 2 seconds and after a reboot the delay of initialisation of the network devices are gone.

Code: Select all

nano /etc/systemd/system/network-online.target.wants/networking.service

Code: Select all

TimeoutStartSec=2
Cheers,
Christian