diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index e54c8433dc..b3c0ca1547 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,9 @@ +2009-09-30 Sancho Lerena + + * pandora_server.spec: A complete uninstall for RPM. Database + is not killed because user could be just uninstalling one of + multiple servers and drop it will not be funny :-) + 2009-09-28 Sancho Lerena * lib/PandoraFMS/Config.pm: Updatged build. diff --git a/pandora_server/pandora_server.spec b/pandora_server/pandora_server.spec index 7e845c9f79..1d06b912f6 100644 --- a/pandora_server/pandora_server.spec +++ b/pandora_server/pandora_server.spec @@ -105,6 +105,20 @@ fi chkconfig -d pandora_server chkconfig -d tentacle_serverd +%postun +rm -Rf /etc/init.d/tentacle_serverd +rm -Rf /etc/init.d/pandora_server +rm -Rf %{prefix}pandora_server +rm -Rf /var/log/pandora +rm -Rf /usr/lib/perl5/site_perl/%{perl_version}/PandoraFMS/ +rm -Rf /etc/pandora/pandora_server.conf +rm -Rf /var/spool/pandora +rm -Rf /etc/init.d/pandora_server /etc/init.d/tentacle_serverd +rm -Rf /usr/local/bin/pandora_exec /usr/local/bin/pandora_server +rm -Rf /usr/local/bin/tentacle_server +rm -Rf /etc/cron.daily/pandora_db +rm -Rf /etc/logrotate.d/pandora + %files %defattr(750,pandora,root)