db7d74
# This service will run the real kdump error handler code. Executing the
db7d74
# failure action configured in kdump.conf
db7d74
db7d74
[Unit]
db7d74
Description=Kdump Error Handler
db7d74
DefaultDependencies=no
db7d74
After=systemd-vconsole-setup.service
db7d74
Wants=systemd-vconsole-setup.service
db7d74
db7d74
[Service]
db7d74
Environment=HOME=/
db7d74
Environment=DRACUT_SYSTEMD=1
db7d74
Environment=NEWROOT=/sysroot
db7d74
WorkingDirectory=/
4a6108
ExecStart=/bin/kdump.sh --error-handler
db7d74
ExecStopPost=-/bin/rm -f -- /.console_lock
db7d74
Type=oneshot
db7d74
StandardInput=tty-force
db7d74
StandardOutput=inherit
db7d74
StandardError=inherit
db7d74
KillMode=process
db7d74
IgnoreSIGPIPE=no
db7d74
TasksMax=infinity
db7d74
db7d74
# Bash ignores SIGTERM, so we send SIGHUP instead, to ensure that bash
db7d74
# terminates cleanly.
db7d74
KillSignal=SIGHUP