
2 changed files with 34 additions and 2 deletions
@ -0,0 +1,29 @@
@@ -0,0 +1,29 @@
|
||||
# This file is part of systemd. |
||||
# |
||||
# systemd is free software; you can redistribute it and/or modify it |
||||
# under the terms of the GNU Lesser General Public License as published by |
||||
# the Free Software Foundation; either version 2.1 of the License, or |
||||
# (at your option) any later version. |
||||
|
||||
# See systemd.special(7) for details |
||||
|
||||
[Unit] |
||||
Description=Dracut cmdline hook |
||||
DefaultDependencies=no |
||||
Before=dracut-pre-udev.service |
||||
After=systemd-journald.socket |
||||
Wants=systemd-journald.socket |
||||
|
||||
[Service] |
||||
Environment=HOME=/ |
||||
WorkingDirectory=/ |
||||
ExecStart=-/bin/dracut-cmdline |
||||
Type=oneshot |
||||
StandardInput=null |
||||
StandardOutput=syslog |
||||
StandardError=syslog+console |
||||
KillMode=process |
||||
|
||||
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash |
||||
# terminates cleanly. |
||||
KillSignal=SIGHUP |
Loading…
Reference in new issue