2010-11- Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use pandora_exec for Pandora Server and Pandora Agent, now make a pandora_exec.server and try to link to pandora_exec. Fixes: #3106578 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3566 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b4d092426d
commit
75140c735b
|
@ -1,3 +1,11 @@
|
|||
2010-11- Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* DEBIAN/postinst, DEBIAN/prerm, DEBIAN/make_deb_package.sh: fixed the use
|
||||
pandora_exec for Pandora Server and Pandora Agent, now make a
|
||||
pandora_exec.server and try to link to pandora_exec.
|
||||
|
||||
Fixes: #3106578
|
||||
|
||||
2010-11-10 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* lib/PandoraFMS/Tools.pm: Added a parameter of unsafe_chars, '<>&',
|
||||
|
|
|
@ -82,7 +82,7 @@ then
|
|||
mkdir -p temp_package/usr/share/man/man1/
|
||||
|
||||
cp -aRf bin/pandora_server temp_package/usr/bin/
|
||||
cp -aRf bin/pandora_exec temp_package/usr/bin/
|
||||
cp -aRf bin/pandora_exec temp_package/usr/bin/pandora_exec.server
|
||||
cp -aRf bin/tentacle_server temp_package/usr/bin/
|
||||
|
||||
cp -aRf conf/* temp_package/usr/share/pandora_server/conf/
|
||||
|
|
|
@ -55,6 +55,9 @@ get_distro () {
|
|||
echo "$LINUX_DISTRO:$OS_VERSION:$LINUX"
|
||||
}
|
||||
|
||||
echo "Linking pandora_exec..."
|
||||
ln -s /usr/bin/pandora_exec.server /usr/bin/pandora_exec 2> /dev/null
|
||||
|
||||
|
||||
echo "Creating common Pandora FMS directories"
|
||||
useradd pandora 2> /dev/null
|
||||
|
|
|
@ -70,3 +70,9 @@ then
|
|||
rm /etc/cron.daily/pandora_db
|
||||
fi
|
||||
|
||||
rm /usr/bin/pandora_exec
|
||||
if [ -e /usr/bin/pandora_exec.agent ]
|
||||
then
|
||||
ln -s /usr/bin/pandora_exec.agent /usr/bin/pandora_exec 2> /dev/null
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue