Skip to content

Commit

Permalink
Add restart policy to Docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
kayabaNerve committed Feb 9, 2024
1 parent f069417 commit 95c3cfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orchestration/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ fn start(network: Network, services: HashSet<String>) {
let mut command = Command::new("docker");
let command = command.arg("create").arg("--name").arg(&docker_name);
let command = command.arg("--network").arg("serai");
let command = command.arg("--restart").arg("always");
let command = match name {
"bitcoin" => {
if network == Network::Dev {
Expand Down

0 comments on commit 95c3cfc

Please sign in to comment.