From a1003f0f1b1d9c47629527d161274aedde2247da Mon Sep 17 00:00:00 2001 From: cytopia Date: Sun, 11 Mar 2018 16:00:04 +0100 Subject: [PATCH] REL-0.13 Fix path replacement --- data/docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/docker-entrypoint.sh b/data/docker-entrypoint.sh index 1c04965..11599e4 100755 --- a/data/docker-entrypoint.sh +++ b/data/docker-entrypoint.sh @@ -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 @@ -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