News for hackers. Stuff that matters.
Re:Writing systemd units that stop gracefully before shutdown by AnssiH on Wednesday October 26, 2022 @06:59PM (#33350760)
They need After=network.target, not Before=network.target.

The shutdown order is the reverse of startup order, and they execute the payload on shutdown (ExecStop).

There are no comments on this comment yet.