2011-02-22 Ramon Novoa <rnovoa@artica.es>

* pandora_server_installer: Change tentacle_server permissions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2011-02-22 17:04:21 +00:00
parent 2dc2c24b20
commit b34dab5c4d
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2011-02-22 Ramon Novoa <rnovoa@artica.es>
* pandora_server_installer: Change tentacle_server permissions.
2011-02-22 Sancho Lerena <slerena@artica.es> 2011-02-22 Sancho Lerena <slerena@artica.es>
* Core.pm: Fixed bug #3175575 * Core.pm: Fixed bug #3175575

View File

@ -307,6 +307,7 @@ perl-TimeDate perl-XML-Simple perl-libwww-perl mysql-client"
# Tentacle server install (Ubuntu) # Tentacle server install (Ubuntu)
echo "Installing tentacle server" echo "Installing tentacle server"
cp bin/tentacle_server /usr/bin cp bin/tentacle_server /usr/bin
chown pandora /usr/bin/tentacle_server
cp util/tentacle_serverd $TENTACLE_SERVER cp util/tentacle_serverd $TENTACLE_SERVER
update-rc.d tentacle_serverd defaults update-rc.d tentacle_serverd defaults
else else
@ -314,12 +315,14 @@ perl-TimeDate perl-XML-Simple perl-libwww-perl mysql-client"
then then
echo "Creating Tentacle startup daemon" echo "Creating Tentacle startup daemon"
cp bin/tentacle_server /usr/bin cp bin/tentacle_server /usr/bin
chown pandora /usr/bin/tentacle_server
cp util/tentacle_serverd /etc/init.d/tentacle_serverd cp util/tentacle_serverd /etc/init.d/tentacle_serverd
insserv tentacle_serverd insserv tentacle_serverd
else else
# Tentacle server install (Other Distros) # Tentacle server install (Other Distros)
echo "Installing tentacle server in /etc/rc.d/rc$INITLV.d/S80tentacle_serverd" echo "Installing tentacle server in /etc/rc.d/rc$INITLV.d/S80tentacle_serverd"
cp bin/tentacle_server /usr/bin cp bin/tentacle_server /usr/bin
chown pandora /usr/bin/tentacle_server
cp util/tentacle_serverd /etc/init.d/tentacle_serverd cp util/tentacle_serverd /etc/init.d/tentacle_serverd
ln -s $TENTACLE_SERVER /etc/rc.d/rc$INITLV.d/S80tentacle_serverd ln -s $TENTACLE_SERVER /etc/rc.d/rc$INITLV.d/S80tentacle_serverd
fi fi
@ -335,6 +338,7 @@ perl-TimeDate perl-XML-Simple perl-libwww-perl mysql-client"
then then
echo "Installing tentacle server" echo "Installing tentacle server"
cp bin/tentacle_server /usr/local/bin cp bin/tentacle_server /usr/local/bin
chown pandora /usr/local/bin/tentacle_server
cp FreeBSD/tentacle_server $TENTACLE_SERVER cp FreeBSD/tentacle_server $TENTACLE_SERVER
chmod 555 $TENTACLE_SERVER chmod 555 $TENTACLE_SERVER
echo "Installing Tentacle Server manual" echo "Installing Tentacle Server manual"