For that you’ll need after = [ ... "local-fs-pre.target" ]; (or just systemd-hibernate-resume.service, but local-fs-pre.target is just a more generic target for “after things that have to happen before file systems”), because systemd-hibernate-resume.service is the thing that actually resumes the system from hibernation
2 Likes
Oh, this is not what you want, sorry; thought I should clarify that. The resume kernel param is not the sole thing that determines whether the system resumes from hibernate, and the resume param can be present when the system won’t have anything to resume from. So yea, what I said before about ordering after systemd-hibernate-resume.service / local-fs-pre.target is the right thing to do.
But yea, I think the rest looks fine, and I’m happy to help ![]()
2 Likes
Thank you for your insight!