This is an automated email from the ASF dual-hosted git repository.

dangogh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 2cef0d0  CIAB: Fix the environment variable and cron jobs (#3508)
2cef0d0 is described below

commit 2cef0d04b47cb9faa78dcd73a6ca0ee174ed938c
Author: Shihta Kuan <[email protected]>
AuthorDate: Fri Apr 26 11:16:54 2019 +0800

    CIAB: Fix the environment variable and cron jobs (#3508)
---
 infrastructure/cdn-in-a-box/ort/traffic_ops_ort.crontab | 2 +-
 infrastructure/cdn-in-a-box/traffic_ops/run-go.sh       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/infrastructure/cdn-in-a-box/ort/traffic_ops_ort.crontab 
b/infrastructure/cdn-in-a-box/ort/traffic_ops_ort.crontab
index 7cd0879..5ec6890 100644
--- a/infrastructure/cdn-in-a-box/ort/traffic_ops_ort.crontab
+++ b/infrastructure/cdn-in-a-box/ort/traffic_ops_ort.crontab
@@ -14,4 +14,4 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-*/1 * * * * /usr/bin/traffic_ops_ort -k --dispersion 0 SYNCDS ALL $TO_URL 
$TO_USER:$TO_PASSWORD >> /var/log/ort.log 2>&1
+*/1 * * * * /usr/local/bin/traffic_ops_ort -k --dispersion 0 SYNCDS ALL 
$TO_URL $TO_USER:$TO_PASSWORD >> /var/log/ort.log 2>&1
diff --git a/infrastructure/cdn-in-a-box/traffic_ops/run-go.sh 
b/infrastructure/cdn-in-a-box/traffic_ops/run-go.sh
index cbb6434..b38a8d0 100755
--- a/infrastructure/cdn-in-a-box/traffic_ops/run-go.sh
+++ b/infrastructure/cdn-in-a-box/traffic_ops/run-go.sh
@@ -49,7 +49,7 @@ insert-self-into-dns.sh
 source /to-access.sh
 
 # Write config files
-/config.sh
+. /config.sh
 
 while ! nc "$TO_PERL_FQDN" $TO_PERL_PORT </dev/null 2>/dev/null; do
         echo "waiting for $TO_PERL_FQDN:$TO_PERL_PORT" 

Reply via email to