Skip to content

Increase Ubuntu shutdown‐restart delay

Alex Gaetano Padula edited this page Dec 24, 2023 · 1 revision

Check if you have option

grep DefaultTimeoutStopSec /etc/systemd/system.conf

You should see

#DefaultTimeoutStopSec=90s

Let's change it to 2 minutes for this example

sudo nano /etc/systemd/system.conf

Uncomment and change to 120s Screenshot from 2023-12-24 02-41-54

Save and you're done.