Stefan Raspl | 997b7e9 | 2020-04-02 10:57:05 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | |
| 3 | [Unit] |
| 4 | Description=Service that logs KVM kernel module trace events |
| 5 | Before=qemu-kvm.service |
| 6 | |
| 7 | [Service] |
| 8 | Type=simple |
| 9 | ExecStart=/usr/bin/kvm_stat -dtcz -s 10 -L /var/log/kvm_stat.csv |
| 10 | ExecReload=/bin/kill -HUP $MAINPID |
| 11 | Restart=always |
Stefan Raspl | 75f94ec | 2021-03-25 13:29:49 +0100 | [diff] [blame] | 12 | RestartSec=60s |
Stefan Raspl | 997b7e9 | 2020-04-02 10:57:05 +0200 | [diff] [blame] | 13 | SyslogIdentifier=kvm_stat |
| 14 | SyslogLevel=debug |
| 15 | |
| 16 | [Install] |
| 17 | WantedBy=multi-user.target |