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:
parent
70feefaf5c
commit
28e232f30a
|
@ -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>
|
2010-01-12 Pablo de la Concepcipón <pablo.concepcion@artica.es>
|
||||||
|
|
||||||
* unix/Linux/pandora_agent.conf, unix/AIX/pandora_agent.conf,
|
* unix/Linux/pandora_agent.conf, unix/AIX/pandora_agent.conf,
|
||||||
|
|
|
@ -92,11 +92,11 @@ if [ ! -d /var/spool/pandora/data_out ] ; then
|
||||||
mkdir -p /var/spool/pandora/data_out
|
mkdir -p /var/spool/pandora/data_out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chkconfig -s pandora_agent_daemon on
|
chkconfig pandora_agent_daemon on
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
||||||
chkconfig -d pandora_agent_daemon
|
chkconfig --del pandora_agent_daemon
|
||||||
/etc/init.d/pandora_agent_daemon stop
|
/etc/init.d/pandora_agent_daemon stop
|
||||||
rm /etc/init.d/pandora_agent_daemon
|
rm /etc/init.d/pandora_agent_daemon
|
||||||
/usr/sbin/userdel pandora
|
/usr/sbin/userdel pandora
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
# Default-Start: 2 3 5
|
# Default-Start: 2 3 5
|
||||||
# Default-Stop: 0 1 6
|
# Default-Stop: 0 1 6
|
||||||
# Short-Description: Startup script daemon for Pandora FMS agent
|
# Short-Description: Startup script daemon for Pandora FMS agent
|
||||||
|
# Description: Startup script daemon for Pandora FMS agent (linux)
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||||
|
|
|
@ -84,11 +84,11 @@ if [ ! -e /etc/pandora/plugins ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /var/spool/pandora/data_out
|
mkdir -p /var/spool/pandora/data_out
|
||||||
chkconfig -s pandora_agent_daemon on
|
chkconfig pandora_agent_daemon on
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
||||||
chkconfig -d pandora_agent_daemon
|
chkconfig --del pandora_agent_daemon
|
||||||
/etc/init.d/pandora_agent_daemon stop
|
/etc/init.d/pandora_agent_daemon stop
|
||||||
rm /etc/init.d/pandora_agent_daemon
|
rm /etc/init.d/pandora_agent_daemon
|
||||||
/usr/sbin/userdel pandora
|
/usr/sbin/userdel pandora
|
||||||
|
|
|
@ -10,6 +10,16 @@
|
||||||
# This code is licensed under GPL 2.0 license.
|
# 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
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
|
||||||
PANDORA_PATH=/etc/pandora
|
PANDORA_PATH=/etc/pandora
|
||||||
DAEMON=/usr/bin/pandora_agent
|
DAEMON=/usr/bin/pandora_agent
|
||||||
|
|
Loading…
Reference in New Issue