summaryrefslogtreecommitdiffstats
path: root/satellit_installer/includes/50-install_bwSuite_server.inc
diff options
context:
space:
mode:
authorSimon Rettberg2014-10-10 15:08:33 +0200
committerSimon Rettberg2014-10-10 15:08:33 +0200
commitfc312c45f113d7428779e20f56e376a5047f06fa (patch)
tree2c3bdf09ac5bbda777810e27d03d6f8a742eb0ba /satellit_installer/includes/50-install_bwSuite_server.inc
parentAdd packages: unattended-upgrades + php5-cli (diff)
downloadsetup-scripts-fc312c45f113d7428779e20f56e376a5047f06fa.tar.gz
setup-scripts-fc312c45f113d7428779e20f56e376a5047f06fa.tar.xz
setup-scripts-fc312c45f113d7428779e20f56e376a5047f06fa.zip
Add syncdaemon (not done yet), rename bwlehrpool user to dmsd
Diffstat (limited to 'satellit_installer/includes/50-install_bwSuite_server.inc')
-rw-r--r--satellit_installer/includes/50-install_bwSuite_server.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/satellit_installer/includes/50-install_bwSuite_server.inc b/satellit_installer/includes/50-install_bwSuite_server.inc
index 72575c9..70e22c6 100644
--- a/satellit_installer/includes/50-install_bwSuite_server.inc
+++ b/satellit_installer/includes/50-install_bwSuite_server.inc
@@ -8,7 +8,7 @@ config_bwSuite_server() {
echo "connection=localhost/bwLehrpool" >> "$1/Server_Config.ini"
echo "pass=%MYSQL_BWLEHRPOOL_PASS%" >> "$1/Server_Config.ini"
echo "user=bwLehrpool" >> "$1/Server_Config.ini"
- chown bwlehrpool:root "$1/Server_Config.ini"
+ chown root:root "$1/Server_Config.ini"
echo "ok."
}
@@ -16,6 +16,8 @@ install_bwSuite_server() {
# $1: directory to install server to
echo -n "# Installing server part of bwSuite... "
mkdir -p "$1" 2>/dev/null
+ mkdir -p "$1/flag"
+ chown dmsd "$1/flag"
cp -p "$BASEDIR/static_files/dmsd.sh" "$1"
cp -p "$BASEDIR/static_files/bwLehrpoolSuite_Server.jar" "$1/bwLehrpoolSuite_Server.jar"
echo "ok."