Files
s390-tools/systemd/cpacfstatsd.service.in
Finn Callies fa2d68e80c capcfstatsd: Update service unit to build on z/VM and KVM
cpacfstatsd can be run successfully on z/VM and KVM mashines, but the
service unit did not allow that. A user would have to start the
cpacfstats daemon by hand every time until now.

Acked-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Harald Freudenberger <freude@linux.ibm.com>
Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
2025-01-28 17:25:19 +01:00

25 lines
575 B
SYSTEMD

#
# Systemd unit for starting cpacfstatsd daemon for Linux on System z
#
# Copyright IBM Corp. 2015, 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=CPACF statistics collection daemon process for Linux on System z
Documentation=man:cpacfstatsd(8)
ConditionVirtualization=|no
ConditionVirtualization=|vm
[Service]
Type=forking
ExecStart=@usrsbin_path@/cpacfstatsd
PIDFile=/run/cpacfstatsd.pid
KillMode=process
Restart=no
[Install]
WantedBy=multi-user.target