Skip to content

Commit

Permalink
Merge pull request #7 from devilbox/release-0.13
Browse files Browse the repository at this point in the history
REL-0.13 Fix path replacement
  • Loading branch information
cytopia authored Mar 13, 2018
2 parents 74fba6d + 10881d6 commit 18e569c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ fi
### Mass vhost (watcher config setup)
###
if [ "${_RUNTIME_MASS_VHOST_ENABLE}" -eq "1" ]; then
run "sed -i'' 's/__DOCROOT_SUFFIX__/${_RUNTIME_MASS_VHOST_DOCROOT}/g' /etc/vhost-gen/conf.yml"
run "sed -i'' 's|__DOCROOT_SUFFIX__|${_RUNTIME_MASS_VHOST_DOCROOT}|g' /etc/vhost-gen/conf.yml"
run "sed -i'' 's/__TLD__/${_RUNTIME_MASS_VHOST_TLD}/g' /etc/vhost-gen/conf.yml"
fi

Expand All @@ -487,7 +487,7 @@ if [ "${_RUNTIME_MASS_VHOST_ENABLE}" -eq "1" ]; then
else
_verb=""
fi
run "sed -i'' 's/__MASS_VHOST_TPL__/${_RUNTIME_MASS_VHOST_TPL}/g' /etc/supervisord.conf"
run "sed -i'' 's|__MASS_VHOST_TPL__|${_RUNTIME_MASS_VHOST_TPL}|g' /etc/supervisord.conf"
run "sed -i'' 's/__VERBOSE__/${_verb}/g' /etc/supervisord.conf"
exec /usr/bin/supervisord -c /etc/supervisord.conf
else
Expand Down

0 comments on commit 18e569c

Please sign in to comment.