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> 2009-12-23 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm, * lib/PandoraFMS/Core.pm,

View File

@ -3,7 +3,7 @@
# #
%define name pandorafms_server %define name pandorafms_server
%define version 3.0.0 %define version 3.0.0
%define release 4 %define release 5
Summary: Pandora FMS Server Summary: Pandora FMS Server
Name: %{name} Name: %{name}
@ -101,7 +101,8 @@ if [ ! -e /etc/pandora/pandora_server.conf ] ; then
echo " " echo " "
fi 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 %preun
/etc/init.d/pandora_server stop &>/dev/null /etc/init.d/pandora_server stop &>/dev/null

View File

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