From c33d9c0ab14932862bee046db2715e5a7077af9b Mon Sep 17 00:00:00 2001 From: ramonn Date: Wed, 3 Jul 2013 11:41:25 +0000 Subject: [PATCH] 2013-07-03 Ramon Novoa * pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the service before enabling it. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/unix/ChangeLog | 5 +++++ pandora_agents/unix/pandora_agent.redhat.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_agents/unix/ChangeLog b/pandora_agents/unix/ChangeLog index 468d63b5b0..4bc33c4ddc 100644 --- a/pandora_agents/unix/ChangeLog +++ b/pandora_agents/unix/ChangeLog @@ -1,3 +1,8 @@ +2013-07-03 Ramon Novoa + + * pandora_agent.redhat.spec: Make absolute calls to chkconfig. Add the + service before enabling it. + 2013-06-26 Ramon Novoa * pandora_agent.redhat.spec, diff --git a/pandora_agents/unix/pandora_agent.redhat.spec b/pandora_agents/unix/pandora_agent.redhat.spec index ef2a66506b..28724f522b 100755 --- a/pandora_agents/unix/pandora_agent.redhat.spec +++ b/pandora_agents/unix/pandora_agent.redhat.spec @@ -94,7 +94,8 @@ if [ ! -e /etc/pandora/collections ]; then fi mkdir -p /var/spool/pandora/data_out -chkconfig pandora_agent_daemon on +/sbin/chkconfig --add pandora_agent_daemon +/sbin/chkconfig pandora_agent_daemon on %preun @@ -103,7 +104,7 @@ if [ "$1" = "1" ]; then exit 0 fi -chkconfig --del pandora_agent_daemon +/sbin/chkconfig --del pandora_agent_daemon /etc/init.d/pandora_agent_daemon stop rm /etc/init.d/pandora_agent_daemon /usr/sbin/userdel pandora