mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00: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
@ -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…
Reference in New Issue
Block a user