Ver Fonte

update ec2-userdata.sh.

xdc há 5 anos atrás
pai
commit
9e9d81f5a1
1 ficheiros alterados com 2 adições e 2 exclusões
  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