Skip to content
This repository has been archived by the owner on Dec 17, 2024. It is now read-only.

Commit

Permalink
Setting Selenoid restart policy to "always" (fixes #33)
Browse files Browse the repository at this point in the history
  • Loading branch information
vania-pooh committed Jun 19, 2017
1 parent c58a767 commit 4070352
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions selenoid/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,9 @@ func (c *DockerConfigurator) Start() error {
&container.HostConfig{
Binds: volumes,
PortBindings: portBindings,
RestartPolicy: container.RestartPolicy{
Name: "always",
},
},
&network.NetworkingConfig{}, selenoidContainerName)
if err != nil {
Expand Down

0 comments on commit 4070352

Please sign in to comment.