man pages: hostonly mode generates host-specific configuration
[dracut.git] / dracut-shutdown.service
blobf96418bf803701d7e212d3663503a0d42a899c54
1 #  This file is part of systemd.
3 #  systemd is free software; you can redistribute it and/or modify it
4 #  under the terms of the GNU General Public License as published by
5 #  the Free Software Foundation; either version 2 of the License, or
6 #  (at your option) any later version.
8 [Unit]
9 Description=Restore /run/initramfs
10 After=getty@tty1.service prefdm.service
11 Before=reboot.service shutdown.target
12 DefaultDependencies=no
13 ConditionPathExists=/run/initramfs/.need_shutdown
14 ConditionPathExists=!/run/initramfs/bin/sh
16 [Service]
17 ExecStart=/usr/lib/dracut/dracut-initramfs-restore
18 Type=oneshot
19 RemainAfterExit=yes