use config:set-norestart in domains plugin. config:get for dockerfile port. closes #1041

This commit is contained in:
Michael Hobbs
2015-04-07 20:02:26 -07:00
parent 59b9e5335b
commit 62774b156d
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@ case "$1" in
fi
if [[ "$VHOST" =~ $RE_IPV4 ]] || [[ "$VHOST" =~ $RE_IPV6 ]];then
echo "unsupported vhost config found. disabling vhost support"
[[ ! $(grep -q NO_VHOST "$DOKKU_ROOT/$APP/ENV") ]] && echo "export NO_VHOST='1'" >> "$DOKKU_ROOT/$APP/ENV"
dokku config:set-norestart $APP NO_VHOST=1
else
if [[ -f "$DOKKU_ROOT/VHOST" ]]; then
dokku_log_info1 "Creating new $VHOST_PATH..."