meta data for this page
Differences
This shows you the differences between two versions of the page.
| linux:systemd:shutdown [2024/01/29 07:47] – created niziak | linux:systemd:shutdown [2024/02/18 19:39] (current) – niziak | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== shutdown ====== | ====== shutdown ====== | ||
| + | |||
| + | ===== reduce reboot/ | ||
| + | |||
| + | <code bash> | ||
| + | systemctl edit reboot.target | ||
| + | systemctl edit soft-reboot.target | ||
| + | systemctl edit ctrl-alt-del.target | ||
| + | systemctl edit poweroff.target | ||
| + | </ | ||
| + | |||
| + | and change | ||
| + | <code ini> | ||
| + | [Unit] | ||
| + | JobTimeoutSec=30min | ||
| + | </ | ||
| + | |||
| + | or use unit override files. | ||
| + | |||
| ===== run service at shutdown ===== | ===== run service at shutdown ===== | ||