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:
parent
67c8182ec4
commit
ce8246636e
|
@ -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>
|
2009-12-28 Sancho Lerena <slerena@artica.es>
|
||||||
|
|
||||||
* pandora_agent.spec: Fixed missing var/spool/pandora/data_out
|
* pandora_agent.spec: Fixed missing var/spool/pandora/data_out
|
||||||
|
|
|
@ -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
|
ln -s /usr/share/pandora_agent/pandora_agent.conf /etc/pandora/pandora_agent.conf
|
||||||
fi
|
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
|
chkconfig -s pandora_agent_daemon on
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
# Provides: pandora_agent
|
# Provides: pandora_agent
|
||||||
# Required-Start: $network
|
# Required-Start: $network
|
||||||
# Required-Stop: $network
|
# Required-Stop: $network
|
||||||
# Default-Start: S 2 3 4 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
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
Loading…
Reference in New Issue