public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt-snmp/files: libvirt-snmp.confd libvirt-snmp.initd
@ 2011-05-11  8:57 Tiziano Mueller (dev-zero)
  0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2011-05-11  8:57 UTC (permalink / raw
  To: gentoo-commits

dev-zero    11/05/11 08:57:32

  Added:                libvirt-snmp.confd libvirt-snmp.initd
  Log:
  Initial commit, ebuild written by me.
  
  (Portage version: 2.1.9.46/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  app-emulation/libvirt-snmp/files/libvirt-snmp.confd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libvirt-snmp/files/libvirt-snmp.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libvirt-snmp/files/libvirt-snmp.confd?rev=1.1&content-type=text/plain

Index: libvirt-snmp.confd
===================================================================

# Specify the URI where your libvirt instance is listening
LIBVIRT_DEFAULT_URI="qemu:///system"

# additional options
LIBVIRT_SNMP_OPTIONS=""



1.1                  app-emulation/libvirt-snmp/files/libvirt-snmp.initd

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libvirt-snmp/files/libvirt-snmp.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-emulation/libvirt-snmp/files/libvirt-snmp.initd?rev=1.1&content-type=text/plain

Index: libvirt-snmp.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-emulation/libvirt-snmp/files/libvirt-snmp.initd,v 1.1 2011/05/11 08:57:32 dev-zero Exp $

depend() {
    need snmpd
    use snmptrapd
    use libvirtd
}

start() {
    ebegin "Starting libvirt subagent"
    start-stop-daemon --start \
        --env LIBVIRT_DEFAULT_URI="${LIBVIRT_DEFAULT_URI}" \
        --exec /usr/bin/libvirtMib_subagent \
        -- ${LIBVIRT_SNMP_OPTIONS}
    eend $?
}

stop() {
    ebegin "Stopping libvirt subagent"
    start-stop-daemon --stop \
        --exec /usr/bin/libvirtMib_subagent
    eend $?
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-11  8:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-11  8:57 [gentoo-commits] gentoo-x86 commit in app-emulation/libvirt-snmp/files: libvirt-snmp.confd libvirt-snmp.initd Tiziano Mueller (dev-zero)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox