Skip to content

Commit

Permalink
Merge pull request #2435 from weaveworks/ami-docs-fix-disable
Browse files Browse the repository at this point in the history
Fix disabling Scope in the ECS AMI
  • Loading branch information
Alfonso Acosta authored Apr 10, 2017
2 parents 9c56656 + 4d09272 commit 7b838c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions site/ami.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,16 +127,15 @@ There are two methods for running `Weave Scope` within the Weave ECS AMIs:
* [Standalone mode](#running-weave-scope-in-standalone-mode)
* [In Weave Cloud](#running-weave-scope-in-weave-cloud)

You can prevent Weave Scope from automatically starting at boot time by creating
file `/etc/init/scope.override` with contents `manual`.
You can prevent Weave Scope from automatically starting at boot time by removing  `/etc/init/scope.conf`.

This can be done at instance initialization time adding the following line to
the
[User Data](http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html#user-data-shell-scripts)
of the instance.

~~~bash
echo manual > /etc/weave/scope.override
rm /etc/init/scope.conf
~~~

### <a name="running-weave-scope-in-standalone-mode"></a>Running `Weave Scope` in Standalone Mode
Expand Down Expand Up @@ -257,4 +256,4 @@ guide for more information about the AMIs.
**See Also**

* [Installing Weave Scope](/site/installing.md)
* [Service Discovery and Load Balancing with Weave on Amazon ECS](http://weave.works/guides/service-discovery-with-weave-aws-ecs.html)
* [Service Discovery and Load Balancing with Weave on Amazon ECS](http://weave.works/guides/service-discovery-with-weave-aws-ecs.html)

0 comments on commit 7b838c7

Please sign in to comment.