forked from mirrors/nixpkgs
nixos/docker: re-add network.target
Currently if docker starts concurrently with firewall.service/systemd-networkd it breaks both due to iptables/netlink logs.
This commit is contained in:
parent
3205e23fe0
commit
0f4872b4c4
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue