summaryrefslogtreecommitdiff
path: root/repo/qemu/qemu-guest-agent.initd
diff options
context:
space:
mode:
Diffstat (limited to 'repo/qemu/qemu-guest-agent.initd')
-rw-r--r--repo/qemu/qemu-guest-agent.initd6
1 files changed, 6 insertions, 0 deletions
diff --git a/repo/qemu/qemu-guest-agent.initd b/repo/qemu/qemu-guest-agent.initd
new file mode 100644
index 0000000..aaf7de3
--- /dev/null
+++ b/repo/qemu/qemu-guest-agent.initd
@@ -0,0 +1,6 @@
+#!/sbin/openrc-run
+
+name="QEMU Guest Agent"
+pidfile="/run/qemu-ga.pid"
+command="/usr/bin/qemu-ga"
+command_args="-m ${GA_METHOD:-virtio-serial} -p ${GA_PATH:-/dev/virtio-ports/org.qemu.guest_agent.0} -l /var/log/qemu-ga.log -d"