Skip to content

Commit cc24099

Browse files
add systemd dep on network for startup (#734)
1 parent fb4efb2 commit cc24099

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

nix/registry-server.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ in
117117
"multi-user.target"
118118
"nginx.service"
119119
];
120+
after = [ "network-online.target" ];
121+
wants = [ "network-online.target" ];
120122
serviceConfig = {
121123
ExecStart = "${serverInit}/bin/registry-server-init";
122124
Type = "simple";

0 commit comments

Comments
 (0)