Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-commits
Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-commits@g.o
From: "Tiziano Mueller (dev-zero)" <dev-zero@g.o>
Subject: gentoo-x86 commit in app-emulation/libvirt-snmp/files: libvirt-snmp.initd-r1 libvirt-snmp.initd
Date: Tue, 26 Jun 2012 09:34:35 +0000 (UTC)
dev-zero    12/06/26 09:34:35

  Added:                libvirt-snmp.initd-r1
  Removed:              libvirt-snmp.initd
  Log:
  fix init.d-script to properly stop libvirt-snmp
  
  (Portage version: 2.1.11/cvs/Linux x86_64)

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

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

Index: libvirt-snmp.initd-r1
===================================================================
#!/sbin/runscript
# Copyright 1999-2012 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-r1,v 1.1 2012/06/26 09:34:35 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"
    # "--exec /usr/bin/libvirtMib_subagent" does not work and the name gets truncated
    start-stop-daemon --stop \
        --name libvirtMib_suba
    eend $?
}





Navigation:
Lists: gentoo-commits: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
gentoo-x86 commit in dev-ruby/daemons: daemons-1.1.8.ebuild ChangeLog
Next by thread:
gentoo-x86 commit in app-emulation/libvirt-snmp: libvirt-snmp-0.0.2-r1.ebuild ChangeLog libvirt-snmp-0.0.2.ebuild
Previous by date:
gentoo-x86 commit in dev-ruby/daemons: daemons-1.1.8.ebuild ChangeLog
Next by date:
gentoo-x86 commit in app-emulation/libvirt-snmp: libvirt-snmp-0.0.2-r1.ebuild ChangeLog libvirt-snmp-0.0.2.ebuild


Updated Jun 26, 2012

Summary: Archive of the gentoo-commits mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.