summaryrefslogtreecommitdiff
path: root/user/qemu/qemu-guest-agent.initd
diff options
context:
space:
mode:
Diffstat (limited to 'user/qemu/qemu-guest-agent.initd')
-rw-r--r--user/qemu/qemu-guest-agent.initd6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/qemu/qemu-guest-agent.initd b/user/qemu/qemu-guest-agent.initd
new file mode 100644
index 000000000..aaf7de3f2
--- /dev/null
+++ b/user/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"