]> git.ipfire.org Git - thirdparty/dracut.git/blame - modules.d/98systemd/dracut-cmdline.service
add documentation for systemd services in the initramfs
[thirdparty/dracut.git] / modules.d / 98systemd / dracut-cmdline.service
CommitLineData
f653c862
HH
1# This file is part of systemd.
2#
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.
7
8# See systemd.special(7) for details
9
10[Unit]
11Description=Dracut cmdline hook
13f77e9f 12Documentation=man:dracut-cmdline.service(8)
f653c862
HH
13DefaultDependencies=no
14Before=dracut-pre-udev.service
15After=systemd-journald.socket
16Wants=systemd-journald.socket
ae2d48a3 17ConditionPathExists=/etc/initrd-release
f653c862
HH
18
19[Service]
f653c862 20Type=oneshot
792b1893 21ExecStart=-/bin/dracut-cmdline
f653c862
HH
22StandardInput=null
23StandardOutput=syslog
24StandardError=syslog+console
25KillMode=process
26
27# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
28# terminates cleanly.
29KillSignal=SIGHUP