mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
It just fails to start in unprivileged containers Closes: https://github.com/ibm-s390-linux/s390-tools/pull/85 Signed-off-by: Balint Reczey <balint.reczey@canonical.com> Acked-by: Alexander Egorenkov <egorenar@linux.ibm.com> [hoeppner@linux.ibm.com: expanded from !lxc to !container] Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
23 lines
503 B
SYSTEMD
23 lines
503 B
SYSTEMD
#
|
|
# Systemd unit for configuring dump on panic for System z
|
|
#
|
|
# Copyright IBM Corp. 2017
|
|
#
|
|
# s390-tools is free software; you can redistribute it and/or modify
|
|
# it under the terms of the MIT license. See LICENSE for details.
|
|
#
|
|
|
|
[Unit]
|
|
Description=Configure dump on panic for System z
|
|
ConditionVirtualization=!container
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=@toolslib_path@/dumpconf start
|
|
ExecStop=@toolslib_path@/dumpconf stop
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|