5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-03 01:17:58 +03:00
qemu-server/qmeventd.service
Dominik Csapak 4c17b2e30d add qmeventd
this adds a program that can listen to qemu qmp events on a given socket
and if a shutdown event followed by a disconnected socket occurs,
executes qm cleanup with arguments that indicate if the
vm was closed gracefully and whether the guest initiated it

this is useful if we want to cleanup after the qemu process exited,
e.g. tap devices, vgpus, etc.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2018-11-14 15:29:59 +01:00

11 lines
182 B
Desktop File

[Unit]
Description=PVE Qemu Event Daemon
RequiresMountsFor=/var/run
[Service]
ExecStart=/usr/sbin/qmeventd /var/run/qmeventd.sock
Type=forking
[Install]
WantedBy=multi-user.target