Timeline for Run an update *one* time at shutdown – systemd-run?
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 11, 2024 at 12:11 | comment | added | Marcus Müller | no, I think that runs things now, and stops them after the shutdown target has been invoked (not yet run). But if you modify your answer to explain exactly what I should put where, I'd be happy to try. | |
| Aug 11, 2024 at 9:46 | history | edited | markgraf | CC BY-SA 4.0 | at-job is not an option |
| Aug 11, 2024 at 9:45 | comment | added | markgraf | Easy enough: it's a systemd-service, so you can create an override for it in /etc/systemd/system/dnf-automatic.service.d/override.conf to run it before shutdown. See unix.stackexchange.com/a/39604/364705 | |
| Aug 9, 2024 at 10:50 | comment | added | Marcus Müller | atd has no functionality to trigger during shutdown, integrated in the systemd shutdown process, right? And dnf-automatic doesn't do anything at shutdown itself, either; I'd still need to somehow launch it then – that's the question I'm asking here! | |
| Aug 3, 2024 at 14:09 | history | answered | markgraf | CC BY-SA 4.0 |