Files
s390-tools/systemd/dumpconf.service.in
Balint Reczey b4648ec4bd dumpconf: Don't run the service in containers
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>
2022-07-21 15:57:17 +02:00

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