2022-05-17 08:38:02 +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-05-09 05:17:27 +00:00
|
|
|
--block-rpcs=${BLOCK_RPCS} \
|
2022-05-17 08:38:02 +00:00
|
|
|
-F${FSFREEZE_HOOK_PATHNAME}
|
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=dev-virtio\x2dports-org.qemu.guest_agent.0.device
|