rpms/zabbix/devel zabbix-proxy.init,NONE,1.1 zabbix.spec,1.27,1.28
Jeffrey C. Ollie
jcollie at fedoraproject.org
Tue Sep 30 17:42:03 UTC 2008
Author: jcollie
Update of /cvs/pkgs/rpms/zabbix/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24789
Modified Files:
zabbix.spec
Added Files:
zabbix-proxy.init
Log Message:
* Tue Sep 30 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.6-1.1
- Bump release because forgot to add some new files.
--- NEW FILE zabbix-proxy.init ---
#! /bin/sh
#
# chkconfig: - 85 15
# description: zabbix proxy daemon
#
### BEGIN INIT INFO
# Provides: zabbix
# Required-Start: $local_fs $network
# Required-Stop: $local_fs $network
# Default-Start:
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: start and stop zabbix proxy
# Description: Zabbix Proxy
### END INIT INFO
# zabbix details
if [ -x /usr/sbin/zabbix_proxy_mysql ]; then
ZABBIX_PROXY=zabbix_proxy_mysql
elif [ -x /usr/sbin/zabbix_proxy_pgsql ]; then
ZABBIX_PROXY=zabbix_proxy_pgsql
elif [ -x /usr/sbin/zabbix_proxy_sqlite3 ]; then
ZABBIX_PROXY=zabbix_proxy_sqlite3
else
exit 5
fi
CONF=/etc/zabbix/zabbix_proxy.conf
PIDFILE=/var/run/zabbix.pid
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
[ -e $CONF ] || exit 6
RETVAL=0
case "$1" in
start)
echo -n "Starting Zabbix proxy: "
daemon $ZABBIX_PROXY -c $CONF
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/zabbix-proxy
;;
stop)
echo -n "Shutting down Zabbix proxy: "
killproc $ZABBIX_PROXY
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/zabbix-proxy
;;
restart|reload)
$0 stop
$0 start
RETVAL=$?
;;
status)
status $ZABBIX_PROXY
RETVAL=$?
;;
*)
echo "Usage: $0 {start|stop|restart|reload|status}"
exit 1
;;
esac
exit $RETVAL
Index: zabbix.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zabbix/devel/zabbix.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- zabbix.spec 30 Sep 2008 17:38:47 -0000 1.27
+++ zabbix.spec 30 Sep 2008 17:41:33 -0000 1.28
@@ -1,6 +1,6 @@
Name: zabbix
Version: 1.6
-Release: 1%{?dist}
+Release: 1.1%{?dist}
Summary: Open-source monitoring solution for your IT infrastructure
Group: Applications/Internet
@@ -464,6 +464,9 @@
%defattr(-,root,root,-)
%changelog
+* Tue Sep 30 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.6-1.1
+- Bump release because forgot to add some new files.
+
* Thu Sep 30 2008 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.6-1
- Update to final 1.6
More information about the fedora-extras-commits
mailing list