meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux:systemd:shutdown [2024/01/29 07:47]
niziak created
linux:systemd:shutdown [2024/02/18 19:39] (current)
niziak
Line 1: Line 1:
 ====== shutdown ====== ====== shutdown ======
 +
 +===== reduce reboot/​shutdown timeout =====
 +
 +<code bash>
 +systemctl edit reboot.target
 +systemctl edit soft-reboot.target
 +systemctl edit ctrl-alt-del.target
 +systemctl edit poweroff.target
 +</​code>​
 +
 +and change
 +<code ini>
 +[Unit]
 +JobTimeoutSec=30min ​
 +</​code>​
 +
 +or use unit override files.
 +
  
 ===== run service at shutdown ===== ===== run service at shutdown =====