Re:Writing systemd units that stop gracefully before shutdown
by dghubble on Thursday October 27, 2022 @12:11PM
(#33359729)
That's fair, that example would be better with a modest timeout (e.g. if podman had a bug that caused it to hang), without taking away from the main points. Updated.
Someone asked about the opposite on Twitter: https://twitter.com/DannoHung/status/1585350836074446869
One of the innumerable things that systemd stops on shutdown gets stuck - permanently - and the machine goes into a state out of which, to my knowledge, is only a powerdown or reset.
I ended up searching for the above and replacing them with a reasonable timeout (several minutes).