Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit a572b4a

Browse files
authored
ServiceDiscovery: changed commands for ECS sample app (#1673)
1 parent f0212bf commit a572b4a

File tree

1 file changed

+3
-1
lines changed
  • content/en/user-guide/aws/servicediscovery

1 file changed

+3
-1
lines changed

content/en/user-guide/aws/servicediscovery/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,9 @@ Create a file named `fargate-task.json` and add the following content:
103103
"-c"
104104
],
105105
"command": [
106-
"/bin/sh -c \"echo '<html> <head> <title>Amazon ECS Sample App</title> <style>body {margin-top: 40px; background-color: #333;} </style> </head><body> <div style=color:white;text-align:center> <h1>Amazon ECS Sample App</h1> <h2>Congratulations!</h2> <p>Your application is now running on a container in Amazon ECS.</p> </div></body></html>' > /usr/local/apache2/htdocs/index.html && httpd-foreground\""
106+
"/bin/sh",
107+
"-c",
108+
"echo '<html> <head> <title>Amazon ECS Sample App</title> <style>body {margin-top: 40px; background-color: #333;} </style> </head><body> <div style=color:white;text-align:center> <h1>Amazon ECS Sample App</h1> <h2>Congratulations!</h2> <p>Your application is now running on a container in Amazon ECS.</p> </div></body></html>' > /usr/local/apache2/htdocs/index.html && httpd-foreground"
107109
]
108110
}
109111
],

0 commit comments

Comments
 (0)