|
@@ -106,9 +106,9 @@ instance_config_j_clb = {
|
|
|
# 服务启动脚本
|
|
|
start_sh_dir = os.path.dirname(os.path.realpath(__file__))
|
|
|
start_sh_filename = 'gateway_start.sh'
|
|
|
-with open(file=os.path.join(start_sh_dir, start_sh_filename), mode='r', encoding='utf-8') as rf:
|
|
|
- file_content = rf.read()
|
|
|
- logging.info(f"start sh file content: {file_content}")
|
|
|
+with open(file=os.path.join(start_sh_dir, start_sh_filename), mode='w', encoding='utf-8') as wf:
|
|
|
+ file_content = wf.read()
|
|
|
+ # logging.info(f"start sh file content: {file_content}")
|
|
|
start_sh = {
|
|
|
'target_dir': '/home/gateway_server_sh',
|
|
|
'name': start_sh_filename,
|