mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-14 13:39:15 +03:00
nixos/mesos-slave: start after docker
If docker is enabled, start mesos-slave.service after docker.service to avoid a race condition that could result in mesos-slave to fail with "Failed to create docker: Timed out getting docker version"
This commit is contained in:
parent
0d2a4ed49c
commit
ec00b6fbb3
1 changed files with 1 additions and 1 deletions
|
@ -187,7 +187,7 @@ in {
|
|||
systemd.services.mesos-slave = {
|
||||
description = "Mesos Slave";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "network.target" ];
|
||||
after = [ "network.target" ] ++ optionals cfg.withDocker [ "docker.service" ] ;
|
||||
path = [ pkgs.runtimeShellPackage ];
|
||||
serviceConfig = {
|
||||
ExecStart = ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue