Sunday, September 7, 2025

Change service shutdown timeout in Debian

Make a change so that slow-non/responding services to terminate quickly during shutdown:

sudo nano /etc/systemd/system.conf

Uncomment and edit to:

DefaultTimeoutStopSec=5s

Reboot or reload with:

sudo systemctl daemon-reload


No comments:

Post a Comment