2009-12-29 Sancho Lerena <slerena@artica.es>

* linux/pandora_agent_daemon: Some ugly warnings are fixed.

        * linux/pandora_agent.spec: /spool../data_out was not correctly 
        working, fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-12-29 11:07:59 +00:00
parent 67c8182ec4
commit ce8246636e
3 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2009-12-29 Sancho Lerena <slerena@artica.es>
* linux/pandora_agent_daemon: Some ugly warnings are fixed.
* linux/pandora_agent.spec: /spool../data_out was not correctly
working, fixed.
2009-12-28 Sancho Lerena <slerena@artica.es>
* pandora_agent.spec: Fixed missing var/spool/pandora/data_out

View File

@ -87,6 +87,11 @@ if [ ! -e /etc/pandora/pandora_agent.conf ]; then
ln -s /usr/share/pandora_agent/pandora_agent.conf /etc/pandora/pandora_agent.conf
fi
# Create default temp dir for agent. If not exist, agent will not work !
if [ ! -d /var/spool/pandora/data_out ] ; then
mkdir -p /var/spool/pandora/data_out
fi
chkconfig -s pandora_agent_daemon on
%preun

View File

@ -11,7 +11,7 @@
# Provides: pandora_agent
# Required-Start: $network
# Required-Stop: $network
# Default-Start: S 2 3 4 5
# Default-Start: 2 3 5
# Default-Stop: 0 1 6
# Short-Description: Startup script daemon for Pandora FMS agent
### END INIT INFO