firstboot: fix crash when hostname question is skipped
[systemd.io.git] / units / systemd-hibernate-clear.service.in
blob2e8587e6925d16b6aa1aa1b7c7cb9788183abbb6
1 #  SPDX-License-Identifier: LGPL-2.1-or-later
3 #  This file is part of systemd.
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.
10 [Unit]
11 Description=Clear Stale Hibernate Storage Info
12 Documentation=man:systemd-hibernate-clear.service(8)
14 ConditionPathExists=/sys/firmware/efi/efivars/HibernateLocation-8cf2644b-4b0b-428f-9387-6d876050dc67
15 ConditionPathExists=!/etc/initrd-release
17 DefaultDependencies=no
18 Before=sysinit.target shutdown.target
19 Conflicts=shutdown.target
21 [Service]
22 Type=oneshot
23 RemainAfterExit=yes
24 ExecStart={{LIBEXECDIR}}/systemd-hibernate-resume --clear