diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-12-22 12:27:23 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2015-12-22 11:31:08 +0000 |
commit | 3f9dc4f4288ebdbcf2680465617abcdafbe010b8 (patch) | |
tree | f313627c6bdd04183d6c28d66238fa69f003d0eb /main/qemu/qemu-guest-agent.initd | |
parent | ca1f9771d11175fc34a9fe7b1ab988e0c1b2d5e7 (diff) | |
download | aports-3f9dc4f4288ebdbcf2680465617abcdafbe010b8.tar.bz2 aports-3f9dc4f4288ebdbcf2680465617abcdafbe010b8.tar.xz |
main/qemu: upgrade to 2.5.0
remove unused patches
made simple & clean init script for guest-agent
Diffstat (limited to 'main/qemu/qemu-guest-agent.initd')
-rw-r--r-- | main/qemu/qemu-guest-agent.initd | 27 |
1 files changed, 4 insertions, 23 deletions
diff --git a/main/qemu/qemu-guest-agent.initd b/main/qemu/qemu-guest-agent.initd index b5bfca7225..4f4a57420b 100644 --- a/main/qemu/qemu-guest-agent.initd +++ b/main/qemu/qemu-guest-agent.initd @@ -1,25 +1,6 @@ #!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emulation/qemu-guest-agent/files/qemu-ga.init,v 1.2 2012/10/30 21:12:20 cardoe Exp $ -start() { - GA_METHOD=${GA_METHOD:-virtio-serial} - GA_PATH=${GA_PATH:-/dev/virtio-ports/org.qemu.guest_agent.0} - - ebegin "Starting QEMU Guest Agent" - - start-stop-daemon --start --pidfile /var/run/qemu-ga.pid \ - --exec /usr/bin/qemu-ga -- -m ${GA_METHOD} -p ${GA_PATH} \ - -l /var/log/qemu-ga.log -d - - eend $? -} - -stop() { - ebegin "Stopping QEMU Guest Agent" - - start-stop-daemon --stop --pidfile /var/run/qemu-ga.pid - - eend $? -} +name="QEMU Guest Agent" +pidfile=/var/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" |