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

* pandora_server.spec: Start tentacle after install breaks the
        Upgrade process on RPM (error if already running).

        * util/pandora_server: Added mysql as "should-start" in LSB tags



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2009-12-28 18:00:53 +00:00
parent 753fec15cf
commit c0e26cac19
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2009-12-28 Sancho Lerena <slerena@artica.es>
* pandora_server.spec: Start tentacle after install breaks the
Upgrade process on RPM (error if already running).
* util/pandora_server: Added mysql as "should-start" in LSB tags
2009-12-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,

View File

@ -3,7 +3,7 @@
#
%define name pandorafms_server
%define version 3.0.0
%define release 4
%define release 5
Summary: Pandora FMS Server
Name: %{name}
@ -101,7 +101,8 @@ if [ ! -e /etc/pandora/pandora_server.conf ] ; then
echo " "
fi
/etc/init.d/tentacle_serverd start
echo "Don't forget to start Tentacle Server daemon if you want to receive"
echo "data using tentacle"
%preun
/etc/init.d/pandora_server stop &>/dev/null

View File

@ -10,7 +10,7 @@
### BEGIN INIT INFO
# Provides: pandora_server
# Required-Start: $syslog cron
# Should-Start: $network cron
# Should-Start: $network cron mysql
# Required-Stop: $syslog
# Should-Stop: $network
# Default-Start: 2 3 5