mattm       14/10/29 22:38:38

  Added:                zabbix-server zabbix-proxy zabbix-agentd
  Log:
  Major version bump 2.4.1, totally experimental, has not been tested.  Package 
masked.  Do not install unless you are using a non-production system and can 
contribute to improving gentoo support for 2.4 and comment on bug 524010.
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
786037A7)

Revision  Changes    Path
1.1                  net-analyzer/zabbix/files/2.4/init.d/zabbix-server

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-server?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-server?rev=1.1&content-type=text/plain

Index: zabbix-server
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-server,v 
1.1 2014/10/29 22:38:37 mattm Exp $

pid_file="/run/zabbix/zabbix_server.pid"

depend() {
        need net
        use mysql postgresql
}
start_pre() {
        checkpath -d -m 0775 -o zabbix:zabbix /run/zabbix
}

start() {
        ebegin "Starting Zabbix server"
        start-stop-daemon --start --user zabbix --group zabbix --pidfile 
${pid_file} \
                --exec /usr/sbin/zabbix_server -- -c 
/etc/zabbix/zabbix_server.conf
        eend $?
}

stop() {
        ebegin "Stopping Zabbix server"
        start-stop-daemon --stop --pidfile ${pid_file} 
        eend $?
}



1.1                  net-analyzer/zabbix/files/2.4/init.d/zabbix-proxy

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-proxy?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-proxy?rev=1.1&content-type=text/plain

Index: zabbix-proxy
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-proxy,v 1.1 
2014/10/29 22:38:37 mattm Exp $

pid_file="/run/zabbix/zabbix_proxy.pid"

depend() {
        need net
        provide zabbix-proxy
}

start_pre() {
        checkpath -d -m 0775 -o zabbix:zabbix /run/zabbix
}

start() {
        ebegin "Starting Zabbix proxy"
        start-stop-daemon --start --pidfile ${pid_file} \
                --user zabbix --group zabbix --exec /usr/sbin/zabbix_proxy -- 
-c /etc/zabbix/zabbix_proxy.conf
        eend $?
}

stop() {
        ebegin "Stopping Zabbix proxy"
        start-stop-daemon  --stop --pidfile ${pid_file}
        eend $?
}



1.1                  net-analyzer/zabbix/files/2.4/init.d/zabbix-agentd

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-agentd?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-agentd?rev=1.1&content-type=text/plain

Index: zabbix-agentd
===================================================================
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 
/var/cvsroot/gentoo-x86/net-analyzer/zabbix/files/2.4/init.d/zabbix-agentd,v 
1.1 2014/10/29 22:38:37 mattm Exp $

pid_file="/run/zabbix/zabbix_agentd.pid"

depend() {
        need net
        provide zabbix-agent
        use zabbix-server
}

start_pre() {
        checkpath -d -m 0775 -o zabbix:zabbix /run/zabbix
}

start() {
        ebegin "Starting Zabbix agent"
        start-stop-daemon --start --pidfile ${pid_file} \
                --user zabbix --group zabbix --exec /usr/sbin/zabbix_agentd -- 
-c /etc/zabbix/zabbix_agentd.conf
        eend $?
}

stop() {
        ebegin "Stopping Zabbix agent"
        start-stop-daemon  --stop --pidfile ${pid_file}
        eend $?
}




Reply via email to