qemu-kvm/SOURCES/qemu-guest-agent.service

20 lines
499 B
SYSTEMD
Raw Normal View History

2021-11-03 06:23:15 +00:00
[Unit]
Description=QEMU Guest Agent
BindsTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
After=dev-virtio\x2dports-org.qemu.guest_agent.0.device
IgnoreOnIsolate=True
[Service]
UMask=0077
EnvironmentFile=/etc/sysconfig/qemu-ga
ExecStart=/usr/bin/qemu-ga \
--method=virtio-serial \
--path=/dev/virtio-ports/org.qemu.guest_agent.0 \
2023-03-28 11:51:12 +00:00
--block-rpcs=${BLOCK_RPCS} \
2021-11-03 06:23:15 +00:00
-F${FSFREEZE_HOOK_PATHNAME}
Restart=always
RestartSec=0
[Install]
WantedBy=dev-virtio\x2dports-org.qemu.guest_agent.0.device