1997b7e98SStefan Raspl# SPDX-License-Identifier: GPL-2.0-only 2997b7e98SStefan Raspl 3997b7e98SStefan Raspl[Unit] 4997b7e98SStefan RasplDescription=Service that logs KVM kernel module trace events 5997b7e98SStefan RasplBefore=qemu-kvm.service 6997b7e98SStefan Raspl 7997b7e98SStefan Raspl[Service] 8997b7e98SStefan RasplType=simple 9997b7e98SStefan RasplExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv 10997b7e98SStefan RasplExecReload=/bin/kill -HUP $MAINPID 11997b7e98SStefan RasplRestart=always 12*75f94ecbSStefan RasplRestartSec=60s 13997b7e98SStefan RasplSyslogIdentifier=kvm_stat 14997b7e98SStefan RasplSyslogLevel=debug 15997b7e98SStefan Raspl 16997b7e98SStefan Raspl[Install] 17997b7e98SStefan RasplWantedBy=multi-user.target 18