services: nginx: Ensure network is up before starting
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
86f3742d75
commit
02a6723b56
|
@ -24,4 +24,9 @@
|
|||
reloadServices = [ "nginx" ];
|
||||
environmentFile = "/var/secrets/hetzner-acme";
|
||||
};
|
||||
|
||||
systemd.services.nginx = {
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue