Skip to content

Commit

Permalink
Merge branch 'develop' for v3.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mrrobot47 committed Jan 13, 2023
2 parents d910ceb + 6a8ba7c commit 13be7f0
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,7 @@ public function up() {

file_put_contents( '/etc/docker/daemon.json', json_encode( $existin_config ) );

$return_code = EE::launch( 'command -v systemctl && systemctl restart docker || service docker restart' );
if ( $return_code !== 0 ) {
EE::launch( 'command -v service && service docker restart || systemctl restart docker' );
}
EE::launch( 'command -v systemctl && systemctl restart docker || service docker restart' );
}
}

Expand Down

0 comments on commit 13be7f0

Please sign in to comment.