2010-02-09 Sancho Lerena <slerena@artica.es>

* unix/pandora_agent_daemon
        * unix/pandora_agent.spec
        * linux/pandora_agent_daemon
        * linux/pandora_agent.spec: Fixed some compatibility issues with
        CentOS LSB and RPM package.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2342 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2010-02-10 17:37:48 +00:00
parent 70feefaf5c
commit 28e232f30a
5 changed files with 24 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2010-02-09 Sancho Lerena <slerena@artica.es>
* unix/pandora_agent_daemon
* unix/pandora_agent.spec
* linux/pandora_agent_daemon
* linux/pandora_agent.spec: Fixed some compatibility issues with
CentOS LSB and RPM package.
2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es>
* unix/Linux/pandora_agent.conf, unix/AIX/pandora_agent.conf,

View File

@ -92,11 +92,11 @@ if [ ! -d /var/spool/pandora/data_out ] ; then
mkdir -p /var/spool/pandora/data_out
fi
chkconfig -s pandora_agent_daemon on
chkconfig pandora_agent_daemon on
%preun
chkconfig -d pandora_agent_daemon
chkconfig --del pandora_agent_daemon
/etc/init.d/pandora_agent_daemon stop
rm /etc/init.d/pandora_agent_daemon
/usr/sbin/userdel pandora

View File

@ -14,6 +14,7 @@
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Startup script daemon for Pandora FMS agent
# Description: Startup script daemon for Pandora FMS agent (linux)
### END INIT INFO
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin

View File

@ -84,11 +84,11 @@ if [ ! -e /etc/pandora/plugins ]; then
fi
mkdir -p /var/spool/pandora/data_out
chkconfig -s pandora_agent_daemon on
chkconfig pandora_agent_daemon on
%preun
chkconfig -d pandora_agent_daemon
chkconfig --del pandora_agent_daemon
/etc/init.d/pandora_agent_daemon stop
rm /etc/init.d/pandora_agent_daemon
/usr/sbin/userdel pandora

View File

@ -10,6 +10,16 @@
# This code is licensed under GPL 2.0 license.
# **********************************************************************
### BEGIN INIT INFO
# Provides: pandora_agent
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Startup script daemon for Pandora FMS agent
# Description: Startup script daemon for Pandora FMS agent (linux)
### END INIT INFO
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
PANDORA_PATH=/etc/pandora
DAEMON=/usr/bin/pandora_agent