News for hackers. Stuff that matters.
Re:Writing systemd units that stop gracefully before shutdown by dghubble on Wednesday October 26, 2022 @05:59PM (#33350147)
The post shows long-running stop scripts / containers and demonstrates them delaying shutdown (not with KillMode none though)

@CGamesPlay network.target's "primary purpose is for ordering things properly at shutdown: since the shutdown ordering of units in systemd is the reverse of the startup ordering, any unit that is order After=network.target can be sure that it is stopped before the network is shut down if the system is powered off."

https://www.freedesktop.org/wiki/Software/systemd/NetworkTar...

There are no comments on this comment yet.