Update reboots section now we have --restart=always
This commit is contained in:
1 parent
9c4b4ca35f
commit
a83359da7d
1 file changed
+11
-12
+11
-12
@@ -275,19 +275,18 @@ re-connect.
|
|||||||
|
|
||||||
## <a name="reboots"></a>Reboots
|
## <a name="reboots"></a>Reboots
|
||||||
|
|
||||||
because the process of getting everything re-started and
|
All the containers started by `weave launch` are configured with the
|
||||||
re-connected via restart policies is not entirely reliable, the router and
|
Docker restart policy `--restart=always`, so they will come back again
|
||||||
proxy containers do not have Docker restart policies
|
on reboot.
|
||||||
set. Until that changes, we recommend that you create appropriate startup scripts to launch
|
|
||||||
Weave Net and run application containers from
|
|
||||||
[your favourite process manager](/site/systemd.md).
|
|
||||||
|
|
||||||
If you are shutting down or restarting a host deliberately, run `weave
|
Note that the
|
||||||
reset` to clear everything down.
|
[Weave Net Docker API Proxy](/site/weave-docker-api/set-up-proxy.md)
|
||||||
|
is responsible for reconfiguring the Weave router and re-attaching
|
||||||
The Weave Net Docker plugin does restart automatically because it must
|
application containers to the Weave network at startup, so if you
|
||||||
always start with Docker, as described in
|
choose not to run it you must make arrangements for this
|
||||||
[its documentation](/site/weave-docker-api/using-proxy.md).
|
reconfiguration to take place. In this scenario, set up your favourite
|
||||||
|
process manager to run `weave launch-router` every time the machine
|
||||||
|
reboots.
|
||||||
|
|
||||||
## <a name="snapshots"></a>Snapshot Releases
|
## <a name="snapshots"></a>Snapshot Releases
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user