소스 검색

update ec2-userdata.sh.

xdc 5 년 전
부모
커밋
9e9d81f5a1
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      ec2-userdata.sh

+ 2 - 2
ec2-userdata.sh

@@ -15,7 +15,7 @@ sudo mount -t efs -o tls fs-56c463b3:/ /mnt/v1
 
 #!/bin/bash
 sleep 5
-wget -O /root/server_demo http://a.xclouds.cloud/all/html/q1/server_demo
+wget -O /root/server http://a.xclouds.cloud/all/html/q1/server_demo
 wget -O /root/conf.toml http://a.xclouds.cloud/all/html/q1/conf.toml1
 
 chmod +x /root/server
@@ -48,4 +48,4 @@ log_group_name = cloudlog
 
 EOB
 systemctl restart awslogsd
-/root/server_demo /root/conf.toml
+/root/server /root/conf.toml