2009-12-17 Miguel de Dios <miguel.dedios@artica.es>

* linux/DEBIAN/postinst: change the code to insert as service the agent.
	Fixes: 2911327



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2211 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2009-12-17 12:04:16 +00:00
parent 3a1726b8d7
commit 7d74eceee6
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2009-12-17 Miguel de Dios <miguel.dedios@artica.es>
* linux/DEBIAN/postinst: change the code to insert as service the agent.
Fixes: 2911327
2009-12-16 Raul Mateos <raulofpandora@gmail.com>
* linux/pandora_agent, linux/DEBIAN/make_deb_package.sh: Preparing

View File

@ -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"