Move VHOST file creation to a single domains:setup command

This helps remove duplication and also ensures that all hosts have a proper setup after running `make copyfiles`

Note that this command is not exposed in help as it is not generally useful to developers
This commit is contained in:
Jose Diaz-Gonzalez committed 2014-12-11 01:36:44 -05:00
1 parent 66171551d8
commit e84526490e
3 files changed
+32 -32

No files matched your search

+1 -1
View File
@@ -3,5 +3,5 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
for app in $(ls -d $DOKKU_ROOT/*/CONTAINER); do
APP=$(basename $(dirname $app));
touch "$DOKKU_ROOT/$APP/VHOST"
dokku domains:setup $APP
done