summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1')
-rw-r--r--app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r126
1 files changed, 0 insertions, 26 deletions
diff --git a/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1 b/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1
deleted file mode 100644
index 27b877991ae2..000000000000
--- a/app-emulation/libvirt-snmp/files/libvirt-snmp.initd-r1
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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 $?
-}