diff options
author | Wenlin Kang <wenlin.kang@windriver.com> | 2017-10-17 10:21:29 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-05 13:54:45 +0000 |
commit | a502e406c4e47b72eeb052ec2accba55fb6af972 (patch) | |
tree | bccb29260784f77bc68026717799f18a77d50c28 /meta/recipes-kernel/kexec/kexec-tools/kdump.service | |
parent | 71fae8ac66f0aa3239b3daf5d21cba9bd31d85ad (diff) | |
download | openembedded-core-contrib-a502e406c4e47b72eeb052ec2accba55fb6af972.tar.gz |
kexec-tools: add systemd support for kdump
Add file kdump.service to support kdump in systemd.
Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-kernel/kexec/kexec-tools/kdump.service')
-rw-r--r-- | meta/recipes-kernel/kexec/kexec-tools/kdump.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-kernel/kexec/kexec-tools/kdump.service b/meta/recipes-kernel/kexec/kexec-tools/kdump.service new file mode 100644 index 0000000000..4e65a46ac4 --- /dev/null +++ b/meta/recipes-kernel/kexec/kexec-tools/kdump.service @@ -0,0 +1,12 @@ +[Unit] +Description=Reboot and dump vmcore via kexec +DefaultDependencies=no + +[Service] +Type=oneshot +RemainAfterExit=yes +ExecStart=@LIBEXECDIR@/kdump-helper start +ExecStop=@LIBEXECDIR@/kdump-helper stop + +[Install] +WantedBy=multi-user.target |