2020-04-02 11:57:05 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=Service that logs KVM kernel module trace events
|
|
|
|
Before=qemu-kvm.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv
|
|
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
|
|
Restart=always
|
2021-03-25 15:29:49 +03:00
|
|
|
RestartSec=60s
|
2020-04-02 11:57:05 +03:00
|
|
|
SyslogIdentifier=kvm_stat
|
|
|
|
SyslogLevel=debug
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|