]>
Commit | Line | Data |
---|---|---|
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] | |
11 | Description=Dracut cmdline hook | |
13f77e9f | 12 | Documentation=man:dracut-cmdline.service(8) |
f653c862 HH |
13 | DefaultDependencies=no |
14 | Before=dracut-pre-udev.service | |
15 | After=systemd-journald.socket | |
16 | Wants=systemd-journald.socket | |
ae2d48a3 | 17 | ConditionPathExists=/etc/initrd-release |
f653c862 HH |
18 | |
19 | [Service] | |
f653c862 | 20 | Type=oneshot |
792b1893 | 21 | ExecStart=-/bin/dracut-cmdline |
f653c862 HH |
22 | StandardInput=null |
23 | StandardOutput=syslog | |
24 | StandardError=syslog+console | |
25 | KillMode=process | |
26 | ||
27 | # Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash | |
28 | # terminates cleanly. | |
29 | KillSignal=SIGHUP |