Added config files for zabbix 1.6.4 from bugs.gentoo.org

This commit is contained in:
2009-05-03 09:56:34 +00:00
parent af1edfc25d
commit 539af64e61
8 changed files with 542 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-agentd,v 1.1 2008/07/23 15:47:30 wschlich Exp $
depend() {
need net
provide zabbix-agent
use zabbix-server
}
start() {
ebegin "Starting Zabbix agent"
start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_agentd
eend $?
}
stop() {
ebegin "Stopping Zabbix agent"
start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_agentd.pid
eend $?
}

View File

@@ -0,0 +1,21 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/1.4.6/init.d/zabbix-server,v 1.1 2008/07/23 15:47:30 wschlich Exp $
depend() {
need net
use mysql postgresql
}
start() {
ebegin "Starting Zabbix server"
start-stop-daemon --start -c zabbix:zabbix --exec /usr/sbin/zabbix_server
eend $?
}
stop() {
ebegin "Stopping Zabbix server"
start-stop-daemon --stop -u zabbix --pidfile /var/run/zabbix/zabbix_server.pid
eend $?
}