diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 2175199677..a07fa9c049 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2009-12-17 Miguel de Dios + + * linux/DEBIAN/postinst: change the code to insert as service the agent. + Fixes: 2911327 + 2009-12-16 Raul Mateos * linux/pandora_agent, linux/DEBIAN/make_deb_package.sh: Preparing diff --git a/pandora_agents/linux/DEBIAN/postinst b/pandora_agents/linux/DEBIAN/postinst index 4ebc85059e..f8393612af 100755 --- a/pandora_agents/linux/DEBIAN/postinst +++ b/pandora_agents/linux/DEBIAN/postinst @@ -29,8 +29,7 @@ chmod 640 $PANDORA_LOG chgrp root $PANDORA_LOG chown -R root:root $PANDORA_BIN -INITLV=`cat /etc/inittab | grep "[0-9]\:initdefault" | cut -f 2 -d ":"` echo "Linking start-up daemon script to /etc/rc$INITLV.d"; -ln -s /etc/init.d/pandora_agent_daemon /etc/rc$INITLV.d/S90pandora_agent +update-rc.d pandora_agent_daemon defaults echo "Please, now setup the $PANDORA_HOME/pandora_agent.conf and before start the /etc/init.d/pandora_agent_daemon"