diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2012-06-26 09:34:35 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2012-06-26 09:34:35 +0000 |
commit | 6f1f915a9faf16d6742287737ed258e84f4b9990 (patch) | |
tree | cf0a5686616867bc05e47b0ab2e55080024538d2 /app-emulation/libvirt-snmp/files | |
parent | marked x86 per bug 421619 (diff) | |
download | gentoo-2-6f1f915a9faf16d6742287737ed258e84f4b9990.tar.gz gentoo-2-6f1f915a9faf16d6742287737ed258e84f4b9990.tar.bz2 gentoo-2-6f1f915a9faf16d6742287737ed258e84f4b9990.zip |
fix init.d-script to properly stop libvirt-snmp
(Portage version: 2.1.11/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/libvirt-snmp/files')
-rw-r--r-- | app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 (renamed from app-emulation/libvirt-snmp/files/libvirt-snmp.initd) | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app-emulation/libvirt-snmp/files/libvirt-snmp.initd b/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 index c8c5020f2c9b..5f589ec63dec 100644 --- a/app-emulation/libvirt-snmp/files/libvirt-snmp.initd +++ b/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 @@ -1,7 +1,7 @@ #!/sbin/runscript -# Copyright 1999-2011 Gentoo Foundation +# 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,v 1.1 2011/05/11 08:57:32 dev-zero Exp $ +# $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 @@ -20,7 +20,8 @@ start() { stop() { ebegin "Stopping libvirt subagent" + # "--exec /usr/bin/libvirtMib_subagent" does not work and the name gets truncated start-stop-daemon --stop \ - --exec /usr/bin/libvirtMib_subagent + --name libvirtMib_suba eend $? } |