2018-10-14 17:48:54 +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-01-12 14:06:23 +00:00
|
|
|
--block-rpcs=${BLOCK_RPCS} \
|
2018-10-14 17:48:54 +00:00
|
|
|
-F${FSFREEZE_HOOK_PATHNAME}
|
|
|
|
Restart=always
|
|
|
|
RestartSec=0
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=dev-virtio\x2dports-org.qemu.guest_agent.0.device
|