]>
Commit | Line | Data |
---|---|---|
a032b68d | 1 | # SPDX-License-Identifier: LGPL-2.1-or-later |
52ad194e | 2 | # |
663996b3 MS |
3 | # This file is part of systemd. |
4 | # | |
5 | # systemd is free software; you can redistribute it and/or modify it | |
6 | # under the terms of the GNU Lesser General Public License as published by | |
7 | # the Free Software Foundation; either version 2.1 of the License, or | |
8 | # (at your option) any later version. | |
9 | ||
10 | [Unit] | |
5eef597e MP |
11 | Description=Resume from hibernation using device %f |
12 | Documentation=man:systemd-hibernate-resume@.service(8) | |
663996b3 | 13 | DefaultDependencies=no |
5eef597e MP |
14 | BindsTo=%i.device |
15 | Wants=local-fs-pre.target | |
16 | After=%i.device | |
17 | Before=local-fs-pre.target | |
a032b68d | 18 | AssertPathExists=/etc/initrd-release |
663996b3 MS |
19 | |
20 | [Service] | |
21 | Type=oneshot | |
8b3d4ff0 | 22 | ExecStart={{ROOTLIBEXECDIR}}/systemd-hibernate-resume %f |