Skip to content

Commit

Permalink
make sure localhost.yml is a tenant, if it's been overwritten
Browse files Browse the repository at this point in the history
  • Loading branch information
daisieh committed Aug 25, 2018
1 parent f8869b8 commit de0ea15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions symlink_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,9 @@ do
ln -s "$fullfn" "$shortfn"
fi
done

# make sure that localhost tenant gets into the dryad-config, if it's not there
if [ ! -e $CONFIGDIR/config/tenants/localhost.yml ]; then
echo "adding localhost back to tenants"
cp $CURRENTDIR/dryad-config-example/tenants/localhost.yml $CONFIGDIR/config/tenants/localhost.yml
fi

0 comments on commit de0ea15

Please sign in to comment.