Petr Šabata f5bf49
[Unit]
Petr Šabata f5bf49
Description=Crash recovery kernel arming
Petr Šabata f5bf49
After=network.target network-online.target remote-fs.target basic.target
Petr Šabata f5bf49
DefaultDependencies=no
DistroBaker 5cac7c
ConditionKernelCommandLine=crashkernel
Petr Šabata f5bf49
Petr Šabata f5bf49
[Service]
Petr Šabata f5bf49
Type=oneshot
Petr Šabata f5bf49
ExecStart=/usr/bin/kdumpctl start
Petr Šabata f5bf49
ExecStop=/usr/bin/kdumpctl stop
Petr Šabata f5bf49
ExecReload=/usr/bin/kdumpctl reload
Petr Šabata f5bf49
RemainAfterExit=yes
Petr Šabata f5bf49
StartLimitInterval=0
Petr Šabata f5bf49
Petr Šabata f5bf49
[Install]
Petr Šabata f5bf49
WantedBy=multi-user.target