From d5896333e5232ac630ca56f2b61aa1bd882724a4 Mon Sep 17 00:00:00 2001 From: chirangaalwis Date: Thu, 22 Feb 2018 14:59:27 +0530 Subject: [PATCH] Remove unnecessary touch command from control scripts --- pattern-1/bosh-release/jobs/wso2is_1/templates/ctl.erb | 1 - pattern-1/bosh-release/jobs/wso2is_2/templates/ctl.erb | 1 - pattern-2/bosh-release/jobs/wso2is_1/templates/ctl.erb | 1 - pattern-2/bosh-release/jobs/wso2is_2/templates/ctl.erb | 1 - pattern-2/bosh-release/jobs/wso2is_analytics_1/templates/ctl.erb | 1 - pattern-2/bosh-release/jobs/wso2is_analytics_2/templates/ctl.erb | 1 - 6 files changed, 6 deletions(-) diff --git a/pattern-1/bosh-release/jobs/wso2is_1/templates/ctl.erb b/pattern-1/bosh-release/jobs/wso2is_1/templates/ctl.erb index cc46d55..a2ffa81 100644 --- a/pattern-1/bosh-release/jobs/wso2is_1/templates/ctl.erb +++ b/pattern-1/bosh-release/jobs/wso2is_1/templates/ctl.erb @@ -35,7 +35,6 @@ mkdir -p ${run_dir} ${log_dir} chown -R vcap:vcap ${run_dir} ${log_dir} debug_log=${log_dir}/${wso2_product}.log -touch ${debug_log} function log_debug() { echo `date` $1 >> ${debug_log} diff --git a/pattern-1/bosh-release/jobs/wso2is_2/templates/ctl.erb b/pattern-1/bosh-release/jobs/wso2is_2/templates/ctl.erb index cc46d55..a2ffa81 100644 --- a/pattern-1/bosh-release/jobs/wso2is_2/templates/ctl.erb +++ b/pattern-1/bosh-release/jobs/wso2is_2/templates/ctl.erb @@ -35,7 +35,6 @@ mkdir -p ${run_dir} ${log_dir} chown -R vcap:vcap ${run_dir} ${log_dir} debug_log=${log_dir}/${wso2_product}.log -touch ${debug_log} function log_debug() { echo `date` $1 >> ${debug_log} diff --git a/pattern-2/bosh-release/jobs/wso2is_1/templates/ctl.erb b/pattern-2/bosh-release/jobs/wso2is_1/templates/ctl.erb index 9cf4a7e..2a19812 100644 --- a/pattern-2/bosh-release/jobs/wso2is_1/templates/ctl.erb +++ b/pattern-2/bosh-release/jobs/wso2is_1/templates/ctl.erb @@ -35,7 +35,6 @@ mkdir -p ${run_dir} ${log_dir} chown -R vcap:vcap ${run_dir} ${log_dir} debug_log=${log_dir}/${wso2_product}.log -touch ${debug_log} function log_debug() { echo `date` $1 >> ${debug_log} diff --git a/pattern-2/bosh-release/jobs/wso2is_2/templates/ctl.erb b/pattern-2/bosh-release/jobs/wso2is_2/templates/ctl.erb index 9cf4a7e..2a19812 100644 --- a/pattern-2/bosh-release/jobs/wso2is_2/templates/ctl.erb +++ b/pattern-2/bosh-release/jobs/wso2is_2/templates/ctl.erb @@ -35,7 +35,6 @@ mkdir -p ${run_dir} ${log_dir} chown -R vcap:vcap ${run_dir} ${log_dir} debug_log=${log_dir}/${wso2_product}.log -touch ${debug_log} function log_debug() { echo `date` $1 >> ${debug_log} diff --git a/pattern-2/bosh-release/jobs/wso2is_analytics_1/templates/ctl.erb b/pattern-2/bosh-release/jobs/wso2is_analytics_1/templates/ctl.erb index 4622e61..a2d397c 100644 --- a/pattern-2/bosh-release/jobs/wso2is_analytics_1/templates/ctl.erb +++ b/pattern-2/bosh-release/jobs/wso2is_analytics_1/templates/ctl.erb @@ -36,7 +36,6 @@ mkdir -p ${run_dir} ${log_dir} chown -R vcap:vcap ${run_dir} ${log_dir} debug_log=${log_dir}/${wso2_product}.log -touch ${debug_log} function log_debug() { echo `date` $1 >> ${debug_log} diff --git a/pattern-2/bosh-release/jobs/wso2is_analytics_2/templates/ctl.erb b/pattern-2/bosh-release/jobs/wso2is_analytics_2/templates/ctl.erb index 4622e61..a2d397c 100644 --- a/pattern-2/bosh-release/jobs/wso2is_analytics_2/templates/ctl.erb +++ b/pattern-2/bosh-release/jobs/wso2is_analytics_2/templates/ctl.erb @@ -36,7 +36,6 @@ mkdir -p ${run_dir} ${log_dir} chown -R vcap:vcap ${run_dir} ${log_dir} debug_log=${log_dir}/${wso2_product}.log -touch ${debug_log} function log_debug() { echo `date` $1 >> ${debug_log}