Bugzilla – Attachment #583604: prepare-suspend-to-disk.patch for bug #856389
DefaultDependencies=no
Requires=sleep.target
After=sleep.target
ConditionKernelCommandLine=resume
[Service]
Type=oneshot
ExecStart=@rootbindir@/systemd-sleep-grub pre
ExecStart=@rootlibexecdir@/systemd-sleep hibernate
ExecStopPost=@rootbindir@/systemd-sleep-grub post
ExecStart=@rootlibexecdir@/systemd-sleep hybrid-sleep