mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 09:28:51 +00:00
Make use of REDASH_BASE_PATH variable
This commit is contained in:
parent
bc6bd1b316
commit
78888c2082
@ -50,11 +50,11 @@ install_system_packages() {
|
||||
}
|
||||
|
||||
create_directories() {
|
||||
mkdir /opt/redash
|
||||
chown redash /opt/redash
|
||||
mkdir $REDASH_BASE_PATH
|
||||
chown redash $REDASH_BASE_PATH
|
||||
|
||||
# Default config file
|
||||
if [ ! -f "/opt/redash/.env" ]; then
|
||||
if [ ! -f "$REDASH_BASE_PATH/.env" ]; then
|
||||
sudo -u redash wget "$FILES_BASE_URL/env" -O /opt/redash/.env
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user