Skip to content
This repository has been archived by the owner on Nov 15, 2024. It is now read-only.

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
setiseta committed May 31, 2015
1 parent 73bc352 commit 6fc5380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ DB_NAME=${DB_NAME:-gitlabhq_production}

sed -i -e "s/\$config\['db_pass'\] = 'PASSWORD';/\$config\['db_pass'\] = '$DB_PASS';/g" /data/config/config.php
sed -i -e "s/\$config\['db_user'\] = 'USERNAME';/\$config\['db_user'\] = '$DB_USER';/g" /data/config/config.php
sed -i -e "s/\$config\['db_host'\] = '*';/\$config\['db_host'\] = '$DB_HOST';/g" /data/config/config.php
sed -i -e "s/\$config\['db_host'\] = '.*';/\$config\['db_host'\] = '$DB_HOST';/g" /data/config/config.php
sed -i -e "s/\$config\['db_name'\] = 'observium';/\$config\['db_name'\] = '$DB_NAME';/g" /data/config/config.php
sed -i "/\$config\['rrd_dir'\].*;/d" /data/config/config.php
sed -i "/\$config\['log_file'\].*;/d" /data/config/config.php
Expand Down

0 comments on commit 6fc5380

Please sign in to comment.