- The boot goes in stages: firmware → GRUB → the kernel with its initramfs → systemd → the boot target, on a server — multi-user.target.
systemd-analyzemeasures the kernel and the services,blamehow long each unit took to start,critical-chainwhom the boot waited for.After=andBefore=set the order,Wants=andRequires=a dependency; together they mean "start it and wait for it".- A service gets into the boot through a target —
WantedBy=andenable— andsystemd-analyze verifychecks the unit in advance. - The boot at the start of the lesson took longer than usual because of the network wait: the wait service was first in blame, and in critical-chain it sat under network-online.target, which nginx and the terminal waited for.
Step 8 of 8 · summary · 2 min
Summary
Found an inaccuracy? Report an error in the lesson