495e37
[Unit]
495e37
Description=QEMU Guest Agent
495e37
BindsTo=dev-virtio\x2dports-org.qemu.guest_agent.0.device
495e37
After=dev-virtio\x2dports-org.qemu.guest_agent.0.device
495e37
IgnoreOnIsolate=True
495e37
495e37
[Service]
495e37
UMask=0077
495e37
EnvironmentFile=/etc/sysconfig/qemu-ga
495e37
ExecStart=/usr/bin/qemu-ga \
495e37
  --method=virtio-serial \
495e37
  --path=/dev/virtio-ports/org.qemu.guest_agent.0 \
ed5979
  --block-rpcs=${BLOCK_RPCS} \
495e37
  -F${FSFREEZE_HOOK_PATHNAME}
495e37
Restart=always
495e37
RestartSec=0
495e37
495e37
[Install]
495e37
WantedBy=dev-virtio\x2dports-org.qemu.guest_agent.0.device