summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/install.sh b/install.sh
index d31aa06..51ece48 100755
--- a/install.sh
+++ b/install.sh
@@ -68,6 +68,14 @@ echo -n "Please enter host of pbs2: "
read pbs2_host
sed -e "19s/\$/$pbs2_host/" -i $targetDir/application/configs/application.ini
+echo -n "Please enter host of gearman server: "
+read gearman_server_host
+sed -e "33s/\$/$gearman_server_host/" -i $targetDir/application/configs/application.ini
+
+echo -n "Please enter port of gearman server: "
+read gearman_server_port
+sed -e "34s/\$/$gearman_server_port/" -i $targetDir/application/configs/application.ini
+
echo "Create database and tables"
cat $targetDir/setup/poolctrl.sql | sed -e "s,##poolctrl##,$db_name," > /tmp/poolctrl.sql
mysql -u $db_admin -p$db_adminpass < /tmp/poolctrl.sql