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 Lesser General Public License as published by
5 # the Free Software Foundation; either version 2.1 of the License, or
6 # (at your option) any later version.
8 # See systemd.special(7) for details
11 Description=dracut mount hook
12 Documentation=man:dracut-mount.service(8)
13 After=initrd-root-fs.target initrd-parse-etc.service
14 After=dracut-initqueue.service dracut-pre-mount.service
15 ConditionPathExists=/usr/lib/initrd-release
16 ConditionDirectoryNotEmpty=|/lib/dracut/hooks/mount
17 ConditionKernelCommandLine=|rd.break=mount
20 Environment=DRACUT_SYSTEMD=1
21 Environment=NEWROOT=/sysroot
23 ExecStart=-/bin/dracut-mount
26 StandardError=syslog+console
30 # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash