3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #117618 from Mic92/docker

nixos/docker: re-add network.target
This commit is contained in:
Jörg Thalheim 2021-04-09 12:43:13 +01:00 committed by GitHub
commit 9af991a1b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -157,6 +157,7 @@ in
systemd.services.docker = { systemd.services.docker = {
wantedBy = optional cfg.enableOnBoot "multi-user.target"; wantedBy = optional cfg.enableOnBoot "multi-user.target";
after = [ "network.target" "docker.socket" ];
requires = [ "docker.socket" ]; requires = [ "docker.socket" ];
environment = proxy_env; environment = proxy_env;
serviceConfig = { serviceConfig = {