The kdump-load script is the only one that has more than a single functionality, potentially being invoked in different ways. With that in mind, just add a small usage/help for users' information (thanks Emil for the suggestion). While at it, changed the additional commands to be more friendly and require exactly one command to be passed - changes summary: s/initrd/create-initrd s/clear/clear-initrd s//load Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
19 lines
373 B
Desktop File
19 lines
373 B
Desktop File
# SPDX-License-Identifier: LGPL-2.1+
|
|
#
|
|
# Copyright (c) 2021 Valve.
|
|
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
|
|
#
|
|
|
|
[Unit]
|
|
Description=pstore/kdump loader boot-time service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
StandardOutput=journal
|
|
ExecStartPre=/usr/lib/kdump/kdump-load.sh load
|
|
ExecStart=/usr/lib/kdump/save-dumps.sh
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=basic.target
|