blob: 0c6b70cbac157a6c1be1b81f4bbc8784e733667e (
plain) (
tree)
|
|
install_taskmanager() {
# $1: directory to install taskmanager to
echo "# Installing taskmanager... "
mkdir -p "$1"
unpack_tar_gz "$BASEDIR/static_files/taskmanager.tar.gz" "-C $1"
chown -R root:root "$1" || perror "chown $1 failed"
install_files "taskmanager"
chown -R root:taskmanager "$TASKMANDIR/config"
chmod 0750 "$TASKMANDIR/config"
chmod 0640 \
"$TASKMANDIR/config/config" \
"$TASKMANDIR/config/environment" \
|| perror "chmod of taskmanager config failed"
}
|