You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-12-24 14:20:59 +03:00
MCOL-509 - add columnstore startup script, used in buildbot
This commit is contained in:
26
build/columnstore_startup.sh
Executable file
26
build/columnstore_startup.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
# $Id: columnstore_startup.sh 3705 2013-08-07 19:47:20Z dhill $
|
||||
#
|
||||
# columnstore_startup.sh steps for columnstore single server startup after install
|
||||
|
||||
prefix=/usr/local
|
||||
installdir=$prefix/mariadb/columnstore
|
||||
|
||||
quiet=0
|
||||
|
||||
for arg in "$@"; do
|
||||
if [ `expr -- "$arg" : '--prefix='` -eq 9 ]; then
|
||||
prefix="`echo $arg | awk -F= '{print $2}'`"
|
||||
installdir=$prefix/mariadb/columnstore
|
||||
elif [ `expr -- "$arg" : '--installdir='` -eq 13 ]; then
|
||||
installdir="`echo $arg | awk -F= '{print $2}'`"
|
||||
prefix=`dirname $installdir`
|
||||
else
|
||||
echo "columnstore_startup.sh: ignoring unknown argument: $arg" 1>&2
|
||||
fi
|
||||
done
|
||||
|
||||
$installdir/bin/post-install --installdir=/usr/local/mariadb/columnstore
|
||||
echo -e "1\ncs-1\n1\n1\n" | $installdir/bin/postConfigure -i $installdir
|
||||
exit 0
|
||||
Reference in New Issue
Block a user